0051731a41
This commit does several but minor changes to the USB handling of the broadcast audio sink, such as improving logging, removing a few unncessary pieces of code and some minor performance improvements. It removes some uses of the ring buffers, which effectively clears up around 30KB of RAM, while also reducing how much memory is being copied, improving performance. Some of this removes the existing code for partial support for stereo, but that code did not work in the first place. Proper stereo support will be added in a later commit. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
21 lines
510 B
Plaintext
21 lines
510 B
Plaintext
CONFIG_BT=y
|
|
CONFIG_LOG=y
|
|
CONFIG_BT_AUDIO=y
|
|
CONFIG_BT_SMP=y
|
|
CONFIG_BT_PAC_SNK=y
|
|
CONFIG_BT_PERIPHERAL=y
|
|
CONFIG_BT_BAP_BROADCAST_SINK=y
|
|
CONFIG_BT_BAP_SCAN_DELEGATOR=y
|
|
CONFIG_BT_ISO_MAX_CHAN=2
|
|
# Allocate 2 RX buffers per channel
|
|
CONFIG_BT_ISO_RX_BUF_COUNT=4
|
|
CONFIG_BT_BAP_BROADCAST_SNK_SUBGROUP_COUNT=2
|
|
CONFIG_BT_BAP_BROADCAST_SNK_STREAM_COUNT=2
|
|
CONFIG_BT_BAP_BASS_MAX_SUBGROUPS=2
|
|
CONFIG_BT_BUF_ACL_RX_SIZE=255
|
|
CONFIG_BT_BUF_ACL_TX_SIZE=251
|
|
|
|
CONFIG_BT_DEVICE_NAME="Broadcast Audio Sink"
|
|
|
|
CONFIG_BT_TINYCRYPT_ECC=y
|