Skip to content

Commit

Permalink
Applications: Audio: Added parameter to CAP
Browse files Browse the repository at this point in the history
- OCT-3214
- Added release=true. Releated to cherry-pick

Signed-off-by: Kristoffer Rist Skøien <[email protected]>
  • Loading branch information
koffes authored and rlubos committed Nov 26, 2024
1 parent df976b0 commit 00af349
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -757,6 +757,7 @@ static int update_cap_sink_stream_qos(struct le_audio_unicast_server *unicast_se
param.streams = streams;
param.count = 0;
param.type = BT_CAP_SET_TYPE_AD_HOC;
param.release = true;

if (playing_state &&
le_audio_ep_state_check(unicast_server->cap_sink_stream.bap_stream.ep,
Expand Down Expand Up @@ -1680,6 +1681,7 @@ int unicast_client_stop(uint8_t cig_index)
param.streams = streams;
param.count = 0;
param.type = BT_CAP_SET_TYPE_AD_HOC;
param.release = true;

le_audio_event_publish(LE_AUDIO_EVT_NOT_STREAMING, NULL, 0);

Expand Down

0 comments on commit 00af349

Please sign in to comment.