On Thu, 8 Jan 2004, Julien Claassen wrote:

> Hi all!
>   I want to perform a simple task. I have a delta1010lt soundcard. It has 10
> ins. I want to take two ins and combine them in one virtual device. Upto now I
> used the ttable. But I think it's not the best way of doing it. I did
> something like:
>   ttable.0.0 2
>   ttable.0.1 3
>   I'm not sure about the actual follow of the numbers. But what I did is:
> mapping inputs 2 and 3 to 0 and 1.
>   Now I can only use one of my virtual devices at once and I don't like that!
> :-)

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.


                                                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