On Thu, 8 Jan 2004, Alfons Adriaensen wrote:

> On Thu, Jan 08, 2004 at 02:34:50PM +0100, Jaroslav Kysela wrote:
> 
> > You need to use the dshare plugin:
> > 
> > pcm.in23 {
> >          type dshare
> >          ipc_key 321456  # any unique value
> >          ipc_key_add_uid true
> >          slave {
> >                  pcm "hw:0,0"
> >                  periods 0
> >                  period_time 0
> >                  period_size 1024  # must be power of 2
> >                  buffer_size 4096  # ditto
> >          }
> >          bindings {
> >                  0 2
> >                  1 3
> >          }
> > }
> > 
> > With other plugins use same parameters and replace only "2" and "3" with 
> > the requested input channels.
> 
> Can the same be done for output (or in / out together) ?

Oops. My fault. For capture is dsnoop plugin, of course (same syntax) the 
dhare plugin is for playback only.

We have the asym plugin in CVS now, so you can combine dshare and dsnoop 
plugins for the full-duplex operation identified with one name.

                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to