Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8673f8c2 authored by Chen Chen's avatar Chen Chen Committed by Gerrit Code Review
Browse files

Merge "SpatialAudio: fix crashes in BluetoothAudioSession"

parents 5ceed899 3b46c05d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -431,9 +431,11 @@ void BluetoothAudioSession::ReportLowLatencyModeAllowedChanged(bool allowed) {
    std::shared_ptr<PortStatusCallbacks> callback = observer.second;
    LOG(INFO) << __func__
              << " - allowed=" << (allowed ? " allowed" : " disallowed");
    if (callback->low_latency_mode_allowed_cb_ != nullptr) {
      callback->low_latency_mode_allowed_cb_(cookie, allowed);
    }
  }
}

bool BluetoothAudioSession::GetPresentationPosition(
    PresentationPosition& presentation_position) {