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

Commit e487d777 authored by Jack He's avatar Jack He Committed by Gerrit Code Review
Browse files

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

parents 0ff06ae8 3c5bcb66
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);