[alsa-devel] different sample rate in alsa.conf file, ALSA DMIX mode

Pavel Botev pbotev at mm-sol.com
Thu Jan 16 14:08:01 CET 2014

Hi ALSA support team,

Can we set more sample rate for DMIX mode in the alsa.conf file than the
default one (defaults.pcm.dmix.rate 48000)? Can we use one alsa.conf file,
with many sample rates (8KHz, 11.025KHz, 16KHz, 22.05KHz, 32KHz, 44.1KHz,
48KHz, 64KHz, 88.2KHz and 96KHz), not with just one default sample rate?

The problem is that when we use one sample rate in alsa.conf and other in
the ALSA application, we have resampling executed which is very CPU
intensive. Thus we search a way to use alsa.conf file with many sample
rates, thus avoiding resampling.

If not possible, can we change the algorithm of resampling, thus have low
CPU usage when resampling is activated?

Thanks for your time.

Best regards,

More information about the Alsa-devel mailing list