I solved it. asoundrc for first soundcard:

pcm.mixin1 {
    type dsnoop
    ipc_key 5932
    ipc_key_add_uid yes
    slave {
            pcm "hw:1,0"
            channels 2
            period_size 4096
            buffer_size 16384
            rate 44100
            periods 0
            period_time 80000
            buffer_time 320000
    }
    bindings {
            0 0
            1 1
    }
}

pcm.multiin1 {
        type plug
        slave.pcm "mixin1"
}

pcm.mixout1 {
        type dmix
    ipc_key 5933
    ipc_key_add_uid yes
    slave {
            pcm "hw:1,0"
            period_time 0
            period_size 1024
            buffer_size 4096
            rate 44100
    }
    bindings {
            0 0
            1 1
    }   
}

pcm.multiout1 {
        type plug
        slave.pcm "mixout1"
}





pcm.router1 {
        type route;
        slave.pcm "multiin1";
        ttable.0.0 1
        ttable.1.0 1
}

pcm.router2 {
        type route;
        slave.pcm "multiin1";
        ttable.0.1 1
        ttable.1.1 1
}


router1 is left channel of hw:1,0, router2 is right channel of hw:2,0.
Routers are not mono but it is ok for me.

-- 
m.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to