[Buildroot] [PATCH v2 1/1] package/bluez-alsa: allow a samplerate conversion for audio playback

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Jul 3 19:17:03 UTC 2023


On Sun,  2 Jul 2023 13:17:36 -0700
Charles Hardin <ckhardin at gmail.com> wrote:

> In the case of the bluetooth audio then incoming 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 at gmail.com>
> ---
> Changes v1 -> v2:
>   - moved the samplerate selection to bluez-alsa

I've added a small comment in the Config.in file to explain this
select, and applied. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list