Skip to contentSkip to conversation

dmix vs. other plugins

DISCUSSION Brad Midgley 2 participants 2 messages Sep 26, 2005 – Sep 29, 2005

lore
Share & tools
lore
#0 lore raw

Hi

Is it true that dmix can't be used to mix down to a slave that is itself an alsa-lib plugin?

I was excited to read about dmix and imagined using it to give multiple access to the stereo bluetooth alsa-lib plugin in development.

If dmix to alsa-lib-slave isn't working now, would it be a straightforward change for me to work on?

thanks
Brad

-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php

#1 lore raw

At Sun, 25 Sep 2005 23:52:03 -0600,

Quoted 8 lines · Brad Midgley

Hi

Is it true that dmix can't be used to mix down to a slave that is itself an alsa-lib plugin?

I was excited to read about dmix and imagined using it to give multiple access to the stereo bluetooth alsa-lib plugin in development.

Yes, that's a known problem.
dmix/dsnoop/dshare are plugins to share the "DMA" buffer via mmap to multiple accessors. Since bt plugin has no DMA, it's impossible to share the same device with dmix.

Quoted 2 lines

If dmix to alsa-lib-slave isn't working now, would it be a straightforward change for me to work on?

I guess the only solution is the old-good mixing server...

Any ideas?

Takashi

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