[alsa-devel] detecting the presence of dmix

Jaroslav Kysela perex at perex.cz
Tue Jul 27 21:24:38 CEST 2010

On Tue, 27 Jul 2010, dv wrote:

> Hello,
> is it possible to programmatically detect
> whether or not dmix is enabled?

Don't do this.

> it is important for a software stack where dmix would introduce unwanted
> resampling artifacts

Use SND_PCM_NO_AUTO_RESAMPLE or configure alsa-lib to use better resampler 


Jaroslav Kysela <perex at perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.

More information about the Alsa-devel mailing list