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

Commit cb64b3b6 authored by Jack He's avatar Jack He Committed by Automerger Merge Worker
Browse files

Merge "leaudio: Make sure Audio HAL is always notified corretly" am: e487d777

parents 6a8a1eb3 e487d777
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2478,8 +2478,7 @@ class LeAudioClientImpl : public LeAudioClient {
  }

  void SuspendAudio(void) {
    audio_receiver_state_ = AudioState::IDLE;
    audio_sender_state_ = AudioState::IDLE;
    CancelStreamingRequest();

    if (lc3_encoder_left_mem) {
      free(lc3_encoder_left_mem);