Message ID | 20240731135718.429604-4-luiz.dentz@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 998104507ba103ae0c83641d381794bf11dd46e0 |
Headers | show |
Series | [BlueZ,v1,1/4] client/player: Fix not setting config target_latency with edpoint.config | expand |
Context | Check | Description |
---|---|---|
tedd_an/pre-ci_am | success | Success |
tedd_an/CheckPatch | success | CheckPatch PASS |
tedd_an/GitLint | success | Gitlint PASS |
tedd_an/IncrementalBuild | success | Incremental Build PASS |
diff --git a/profiles/audio/bap.c b/profiles/audio/bap.c index 53f430d66..a2c5a546d 100644 --- a/profiles/audio/bap.c +++ b/profiles/audio/bap.c @@ -1523,6 +1523,10 @@ static void setup_config(void *data, void *user_data) return; } + if (setup->metadata && setup->metadata->iov_len) + bt_bap_stream_metadata(setup->stream, setup->metadata, NULL, + NULL); + bt_bap_stream_set_user_data(setup->stream, ep->path); }
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Fix not using bt_bap_stream_metadata when configuring a new stream as the endpoint/client may have set it. --- profiles/audio/bap.c | 4 ++++ 1 file changed, 4 insertions(+)