kumquat-buildroot/package/bluez-alsa/Config.in
Charles Hardin f80063aecb package/bluez-alsa: allow a samplerate conversion for audio playback
In the case of bluetooth audio thet incoming audio stream will be
coming from bluetooth devices at varying sample rates like (44.1, 48,
96, 192 kHz) and the odds of a sound device matching that samplerate
exactly is a bit slim. So in the case of a bluez audio playback the
system will need to do a samplerate conversion.

Thus when enabling bluez-alsa and the alsa plugins select libsamplerate
to support the shift from the incoming samplerates to an often fix-rated
audio device.

Signed-off-by: Charles Hardin <ckhardin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-07-03 21:16:24 +02:00

48 lines
1.5 KiB
Plaintext

config BR2_PACKAGE_BLUEZ_ALSA
bool "bluez-alsa"
depends on !BR2_STATIC_LIBS # bluez5
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # bluez5
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # bluez5
depends on BR2_USE_MMU # bluez5 -> dbus
depends on BR2_USE_WCHAR # libglib2
select BR2_PACKAGE_ALSA_LIB
select BR2_PACKAGE_ALSA_LIB_MIXER
select BR2_PACKAGE_BLUEZ5_UTILS
select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_AUDIO
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_SBC
# samplerate ALSA plugin is needed for proper sample rate
# conversion with Bluetooth devices
select BR2_PACKAGE_LIBSAMPLERATE if BR2_PACKAGE_ALSA_PLUGINS
help
Bluetooth Audio ALSA Backend.
https://github.com/Arkq/bluez-alsa
if BR2_PACKAGE_BLUEZ_ALSA
config BR2_PACKAGE_BLUEZ_ALSA_HCITOP
bool "hcitop"
depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
select BR2_PACKAGE_LIBBSD
select BR2_PACKAGE_NCURSES
help
Enable top-like monitoring tool for HCI.
config BR2_PACKAGE_BLUEZ_ALSA_RFCOMM
bool "rfcomm"
select BR2_PACKAGE_READLINE
help
Simple tool for sending RFCOMM commands.
endif
comment "bluez-alsa needs a toolchain w/ wchar, NPTL, headers >= 3.4, dynamic library, gcc >= 4.9"
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || BR2_STATIC_LIBS || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on BR2_USE_MMU