Bluetooth: Audio: Move CONFIG_BT_CODEC out of unicast-only

Move the Kconfig options for BT_CODEC out of the
BT_AUDIO_UNICAST guard, as these are used for broadcast sink
and broadcast source as well.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
Emil Gydesen 2022-03-17 17:15:35 +01:00 committed by Carles Cufí
commit 8e34701e19

View file

@ -36,8 +36,6 @@ config BT_AUDIO_UNICAST_CLIENT
This option enables support for Bluetooth Unicast Audio Client This option enables support for Bluetooth Unicast Audio Client
using Isochronous channels. using Isochronous channels.
if BT_AUDIO_UNICAST
config BT_CODEC_MAX_DATA_COUNT config BT_CODEC_MAX_DATA_COUNT
int "Codec Capabilities Data Count" int "Codec Capabilities Data Count"
default 5 default 5
@ -115,7 +113,6 @@ config BT_AUDIO_UNICAST_CLIENT_ASE_SRC_COUNT
instances for Basic Audio Profile on a per connection basis. instances for Basic Audio Profile on a per connection basis.
endif # BT_AUDIO_UNICAST_CLIENT endif # BT_AUDIO_UNICAST_CLIENT
endif # BT_AUDIO_UNICAST
config BT_AUDIO_BROADCAST_SOURCE config BT_AUDIO_BROADCAST_SOURCE
bool "Bluetooth Broadcast Source Audio Support [EXPERIMENTAL]" bool "Bluetooth Broadcast Source Audio Support [EXPERIMENTAL]"