Bluetooth: BAP: Use def_bool instead of select for BT_AUDIO_RX/TX
Remove the selects and use def_bool for BT_AUDIO_RX and BT_AUDIO_TX. This is part of an effort to reduce select in Kconfig. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
parent
df6b5981bf
commit
9b653540b8
3 changed files with 2 additions and 14 deletions
|
@ -19,16 +19,10 @@ menuconfig BT_AUDIO
|
|||
if BT_AUDIO
|
||||
|
||||
config BT_AUDIO_RX
|
||||
bool
|
||||
help
|
||||
This hidden option is enabled when any of the profiles/services
|
||||
enables support for receiving of audio data.
|
||||
def_bool BT_ASCS_ASE_SNK || BT_BAP_UNICAST_CLIENT_ASE_SRC || BT_BAP_BROADCAST_SINK
|
||||
|
||||
config BT_AUDIO_TX
|
||||
bool
|
||||
help
|
||||
This hidden option is enabled when any of the profiles/services
|
||||
enables support for transmitting of audio data.
|
||||
def_bool BT_ASCS_ASE_SRC || BT_BAP_UNICAST_CLIENT_ASE_SNK || BT_BAP_BROADCAST_SOURCE
|
||||
|
||||
config BT_AUDIO_NOTIFY_RETRY_DELAY
|
||||
int "Delay for notification sending retried attempt in 1.25 ms units"
|
||||
|
|
|
@ -31,12 +31,10 @@ config BT_ASCS_MAX_ASE_SRC_COUNT
|
|||
config BT_ASCS_ASE_SNK
|
||||
def_bool BT_ASCS_MAX_ASE_SNK_COUNT > 0
|
||||
select BT_PAC_SNK
|
||||
select BT_AUDIO_RX
|
||||
|
||||
config BT_ASCS_ASE_SRC
|
||||
def_bool BT_ASCS_MAX_ASE_SRC_COUNT > 0
|
||||
select BT_PAC_SRC
|
||||
select BT_AUDIO_TX
|
||||
|
||||
config BT_ASCS_MAX_ACTIVE_ASES
|
||||
int "Number of simultaneously supported ASE sessions"
|
||||
|
|
|
@ -112,18 +112,15 @@ config BT_BAP_UNICAST_CLIENT_ASE_SRC_COUNT
|
|||
|
||||
config BT_BAP_UNICAST_CLIENT_ASE_SNK
|
||||
def_bool BT_BAP_UNICAST_CLIENT_ASE_SNK_COUNT > 0
|
||||
select BT_AUDIO_TX
|
||||
|
||||
config BT_BAP_UNICAST_CLIENT_ASE_SRC
|
||||
def_bool BT_BAP_UNICAST_CLIENT_ASE_SRC_COUNT > 0
|
||||
select BT_AUDIO_RX
|
||||
|
||||
endif # BT_BAP_UNICAST_CLIENT
|
||||
|
||||
config BT_BAP_BROADCAST_SOURCE
|
||||
bool "Bluetooth Broadcast Source Audio Support"
|
||||
select BT_ISO_BROADCASTER
|
||||
select BT_AUDIO_TX
|
||||
help
|
||||
This option enables support for Bluetooth Broadcast Source Audio using
|
||||
Isochronous channels.
|
||||
|
@ -162,7 +159,6 @@ endif # BT_BAP_BROADCAST_SOURCE
|
|||
config BT_BAP_BROADCAST_SINK
|
||||
bool "Bluetooth Broadcast Sink Audio Support"
|
||||
select BT_ISO_SYNC_RECEIVER
|
||||
select BT_AUDIO_RX
|
||||
select BT_PAC_SNK
|
||||
depends on BT_PERIPHERAL
|
||||
depends on BT_BAP_SCAN_DELEGATOR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue