Skip to contentSkip to conversation

detecting the presence of dmix

DISCUSSION dv 2 participants 2 messages Jul 27, 2010

lore
Share & tools
lore

dv

author
#0 lore raw

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

#1 lore raw
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.