-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
samples: Bluetooth: Add stereo support for broadcast audio sink #69341
samples: Bluetooth: Add stereo support for broadcast audio sink #69341
Conversation
493e0d0
to
5dff1a7
Compare
e4ab068
to
d629a3a
Compare
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 but didn't try it out. Did you try with stereo/mono sources? - also, maybe @fredrikdanebjer should have a look
It has been tested with LEFT, RIGHT and LEFT | RIGHT (with 2 BIS), but not LEFT | RIGHT on a single BIS (I don't have a broadcast source that supports that to test) |
@@ -35,6 +35,13 @@ config TARGET_BROADCAST_NAME | |||
Name of target broadcast device. If not empty string, sink device | |||
will only listen to the specified broadcast source. Not case sensitive. | |||
|
|||
config MAX_CODEC_FRAMES_PER_SDU | |||
int "The maximum number of codec frame per SDU supported" | |||
default 1 |
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.
Maximum 255
The broadcast audio sink now supports stereo if CONFIG_TARGET_BROADCAST_CHANNEL=3 (LEFT | RIGHT). It parses the BASE to find a set of BIS (1 or 2) that contain the channel allocation from CONFIG_TARGET_BROADCAST_CHANNEL. Signed-off-by: Emil Gydesen <[email protected]>
d629a3a
to
dd1102d
Compare
The broadcast audio sink now supports stereo if
CONFIG_TARGET_BROADCAST_CHANNEL=3 (LEFT | RIGHT).
It parses the BASE to find a set of BIS (1 or 2) that contain
the channel allocation from CONFIG_TARGET_BROADCAST_CHANNEL.