Skip to content

Commit 27e52e6

Browse files
koffesrlubos
authored andcommitted
Applications: Audio: Added parameter to CAP
- OCT-3214 - Added release=true. Releated to cherry-pick Signed-off-by: Kristoffer Rist Skøien <[email protected]>
1 parent 002569c commit 27e52e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

applications/nrf5340_audio/src/bluetooth/bt_stream/unicast/unicast_client.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,7 @@ static int update_cap_sink_stream_qos(struct le_audio_unicast_server *unicast_se
757757
param.streams = streams;
758758
param.count = 0;
759759
param.type = BT_CAP_SET_TYPE_AD_HOC;
760+
param.release = true;
760761

761762
if (playing_state &&
762763
le_audio_ep_state_check(unicast_server->cap_sink_stream.bap_stream.ep,
@@ -1680,6 +1681,7 @@ int unicast_client_stop(uint8_t cig_index)
16801681
param.streams = streams;
16811682
param.count = 0;
16821683
param.type = BT_CAP_SET_TYPE_AD_HOC;
1684+
param.release = true;
16831685

16841686
le_audio_event_publish(LE_AUDIO_EVT_NOT_STREAMING, NULL, 0);
16851687

0 commit comments

Comments
 (0)