-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Bluetooth: Audio: Add broadcast source metadata update function #46997
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bluetooth: Audio: Add broadcast source metadata update function #46997
Conversation
456e16a to
536fdc2
Compare
|
Depends on #46204 |
536fdc2 to
0cc291f
Compare
|
Rebased to solve merge conflicts |
94a1cdb to
2054a98
Compare
2054a98 to
aa2c77b
Compare
aa2c77b to
db75771
Compare
1d832ef to
595cb57
Compare
|
Rebased to handle API change from #44828 |
e6b902f to
e468b45
Compare
|
This PR now depends on #49946, and thus converted to a draft |
e468b45 to
3e1d5d0
Compare
3e1d5d0 to
6520cc2
Compare
6520cc2 to
bc989af
Compare
The codec is assigned to the stream. However since the metadata, which is stored in the codec, may be modified by other means, the stored pointer cannot be const, and thus the codec argument to bt_audio_stream_reconfig cannot be const either. Signed-off-by: Emil Gydesen <[email protected]>
Add API to do the BAP Broadcast Source Metadata update procedure, which updates the metadata of a broadcast source while it is streaming. This is also makes all checks for the "head stream" the same. Signed-off-by: Emil Gydesen <[email protected]>
Move the functionality that is common between the two broadcast sink test to a common function. Signed-off-by: Emil Gydesen <[email protected]>
bc989af to
aaa7e54
Compare
|
Rebased on #51897 |
asbjornsabo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
| /* Ensure that we also see the metadata update */ | ||
| printk("Waiting for metadata update\n"); | ||
| WAIT_FOR_FLAG(flag_base_metadata_updated) | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
redundant new line
Add API to do the BAP Broadcast Source Metadata update procedure,
which updates the metadata of a broadcast source while
it is streaming.
Signed-off-by: Emil Gydesen [email protected]
depends on #49946