detecting the presence of dmix
Hello,
is it possible to programmatically detect
whether or not dmix is enabled?
it is important for a software stack where dmix would introduce unwanted resampling artifacts
Quoted 4 lines · dv
Hello,
is it possible to programmatically detect
whether or not dmix is enabled?
Don't do this.
Quoted 2 lines
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 (alsa-plugins).
Jaroslav
-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.