On Thu, 28 Feb 2002, Kai Vehmanen wrote:

> On Thu, 28 Feb 2002, Patrick Shirkey wrote:
> 
> > I attempted to get the share device working a little while ago but had
> > no luck. I can try again though. Actually, at the time Abramo said that
> > it was possible but that it had not been coded completely yet due to
> > funding constraints. Is that right or was it not specific to the share
> > device?
> 
> It's good to note that the current pcm_share plugin that exists does not
> allow mixing audio from multiple source channels to one output channel.  
> Instead it can be used to allow multiple clients to access different
> channels of one PCM device at the same time.
> 
> For instance you could have share1, which outputs to hw:0 channels 1 and 
> 2, and share2 which outputs to hw:0 channels 3 and 4.
> 
> What is missing is a pcm_mix plugin, which allows multiple clients to 
> write to the same channels (like esd, arts and other audio daemons).
> 
> Another currently available option is to use the pcm_shm plugin which
> outputs audio to a separate aserver process (see alsa-lib/aserver). This
> plugin does work, but like pcm_share, hasn't been widely used yet. But
> it's the only working ALSA alternative for concurrent pcm access at the
> moment.

It's not another option, but the share plugin should be used
simultaneously with the shm plugin allowing reroute streams from multiple
applications to one process (aserver). The share plugin hasn't
an inter-process communication feature.

                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project  http://www.alsa-project.org
SuSE Linux    http://www.suse.com


_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to