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

Commit 26582860 authored by Grzegorz Kołodziejczyk's avatar Grzegorz Kołodziejczyk
Browse files

le_audio: Handle VBC case while sink monitoring

While monitoring sink stream and VBC channel was active, after closing
VBC sink suspension notification should be sent.

Tag: #feature
Test: atest bluetooth_le_audio_client_test
Bug: 298080973
Bug: 308171251
Change-Id: If8e420bc0f411410d5e15f93c53153ed33bd3ffc
parent 79eed764
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -293,6 +293,11 @@ class LeAudioClientImpl : public LeAudioClient {
      return;
    }

    /* Reconfiguration to non requiring source scenario */
    if (sink_monitor_mode_) {
      notifyAudioLocalSink(UnicastMonitorModeStatus::STREAMING_SUSPENDED);
    }

    /* For sonification events we don't really need to reconfigure to HQ
     * configuration, but if the previous configuration was for HQ Media,
     * we might want to go back to that scenario.