28 Nov
2007
28 Nov
'07
5:22 p.m.
At Wed, 28 Nov 2007 17:01:47 +0100, thomas schorpp wrote:
+1 Dmix should not be enforced... this can be handled at a lower level.... e.g. with dmix configured in alsa config or by using pulseaudio instead of dmix (my preferred solution so I can switch from my internal speakers to my usb headset should I plug it in mid-call).
Col.
alsa docs say dmix config files are no longer neccessary?
The behavior depends on the name string passed to snd_pcm_open(). If you open the PCM with "default", the alsa-lib takes an approriate configuration for multi-playback and automatic conversions. But, if app opens with other strings like "hw" or "plughw", then it means that it's an exclusive access. dmix cannot be involved with that.
Takashi