Skip to contentSkip to conversation

Should dmix really work this way?

DISCUSSION Sebastian Kuzminsky 1 participant 1 message Oct 7, 2005

lore
Share & tools
lore
#0 lore raw

It seems like there's one dmix "context" per system, not per playback device.

If I run "aplay -D plug:dmix:0 zero.wav", it comes out the speakers for card 0, as expected. If I kill that and then run "aplay -D plug:dmix:1 one.wav", it comes out the speakers for card 1, as expected. But if I leave that running and run the first command again, zero.wav comes out card 1 (mixed together with one.wav).

If I play via dmix to card 0 first, then try to dmix something else to card 1, the second sound comes out card 0 too. Which ever dmix starts first determines where all the subsequent dmix sounds go.

Is this how it's supposed to work, or am I just being a retard and doing something wrong?

I'm using ALSA 1.0.9 with Debian Etch/Sid, FWIW.

--
Sebastian Kuzminsky

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl