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

Commit 5b23f8ba authored by Jakub Pawłowski's avatar Jakub Pawłowski Committed by Gerrit Code Review
Browse files

Merge "Revert "leaudio: Fix possible race when confirming stream start""

parents 955ddb6c 16b328f8
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -425,7 +425,6 @@ void LeAudioClientAudioSource::Release(const void* instance) {
}

void LeAudioClientAudioSource::ConfirmStreamingRequest() {
  std::lock_guard<std::mutex> guard(sinkInterfaceMutex_);
  LOG(INFO) << __func__;
  if ((sinkClientInterface_ == nullptr) ||
      (le_audio_sink_hal_state != HAL_STARTED)) {
@@ -452,7 +451,6 @@ void LeAudioClientAudioSource::SuspendedForReconfiguration() {
}

void LeAudioClientAudioSource::CancelStreamingRequest() {
  std::lock_guard<std::mutex> guard(sinkInterfaceMutex_);
  LOG(INFO) << __func__;
  if ((sinkClientInterface_ == nullptr) ||
      (le_audio_sink_hal_state != HAL_STARTED)) {