-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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 samples: Add USB Audio to Broadcast Sink sample #65014
Conversation
4741fd3
to
31d4d98
Compare
@@ -15,4 +15,8 @@ CONFIG_BT_BUF_ACL_TX_SIZE=251 | |||
|
|||
CONFIG_BT_DEVICE_NAME="Broadcast Audio Sink" | |||
|
|||
CONFIG_BT_TINYCRYPT_ECC=y | |||
# LC3 Needs these |
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.
I know we should not add these, as they are board specific to whatever board we have that will be using LC3, however I need some input from reviewers on how to solve this properly.
There are two issues:
- I have added these here since the BSIM
zephyr/tests/bsim/bluetooth/audio_samples/broadcast_audio_sink/tests_scripts/broadcast_audio.sh
will by default compile tonrf53_bsim
, which today will not pick up the board specific conf file.
If I do overwrite the current overlay file (which I dont want, I want to append it), it will also:
- pick the USB component (as it should), however it will then not be able to find the USB device in the device tree. I'm not really sure how to overcome this, as there are currently no examples on how to add a dtsi file when compiling for BSIM.
And and all help would be appreciated!
samples/bluetooth/broadcast_audio_sink/boards/nrf5340_audio_dk_nrf5340_cpuapp.conf
Outdated
Show resolved
Hide resolved
samples/bluetooth/broadcast_audio_sink/boards/nrf5340_audio_dk_nrf5340_cpuapp.conf
Outdated
Show resolved
Hide resolved
a4e1871
to
cfb3ab2
Compare
samples/bluetooth/broadcast_audio_sink/boards/nrf5340_audio_dk_nrf5340_cpuapp.conf
Outdated
Show resolved
Hide resolved
samples/bluetooth/broadcast_audio_sink/boards/nrf5340_audio_dk_nrf5340_cpuapp.conf
Outdated
Show resolved
Hide resolved
samples/bluetooth/broadcast_audio_sink/boards/nrf5340_audio_dk_nrf5340_cpuapp.conf
Outdated
Show resolved
Hide resolved
samples/bluetooth/broadcast_audio_sink/boards/nrf5340_audio_dk_nrf5340_cpuapp.conf
Outdated
Show resolved
Hide resolved
samples/bluetooth/broadcast_audio_sink/boards/nrf5340_audio_dk_nrf5340_cpuapp.conf
Outdated
Show resolved
Hide resolved
This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time. |
9681480
to
3f8c0bc
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.
A few minor comments, so aside from the stereo/mono things, it looks pretty good
samples/bluetooth/broadcast_audio_sink/boards/nrf5340_audio_dk_nrf5340_cpuapp.conf
Show resolved
Hide resolved
I can add that I tried this draft PR on an nRF5340 Audio DK, stressing it as much as I could today (connect/disconnect/restarting source) and it has not failed yet. Audio was crisp and clear when reconnecting to the source. |
572383d
to
afa8ab8
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.
The sample is still in some weird limbo state between support multiple streams only a single stream.
The existing parts that supports multiple streams should not be reduced to a single stream, simply because we add USB support.
5a7d952
to
53c6f8f
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.
One minor comment left, otherwise LGTM
Added USB Audio output for the Broadcast Sink sample. In addition offloading of the LC3 codec was also made. The sample supports only mono, and a KConfig option was added to configure which audio location to sync to. Signed-off-by: Fredrik Danebjer <[email protected]>
Added USB Audio output for the Broadcast Sink sample. In addition offloading of the LC3 codec was also made.