Hello,

please try using something like that.  (un-tested). Playing to dev1 and dev2 
should then create mono streams with are send to one of the dmixer channel.

Check http://www.alsa-project.org/main/index.php/Asoundrc to see what is going 
on.

Regards,
Mathias



pcm.dev1 {

        type plug

        slave.pcm "dmixer"

        slave.channels 1

        ttable.0.0 0.5

        ttable.1.0 0.5

}



pcm.dev2 {

        type plug

        slave.pcm "dmixer"

        ttable.0.1 0.5

        Ttable.1.1 0.5

}



pcm.dmixer  {

        type dmix

        ipc_key 1024

        slave {

               pcm "hw:1,0"

               period_time 0

               period_size 1024

               buffer_size 4096

               rate 44100

        }

        bindings {

               0 0

               1 1

        }

}


From: Burak METİN [mailto:metinbu...@gmail.com]
Sent: Monday, June 30, 2014 7:14 PM
To: Krause, Mathias
Cc: alsa-user@lists.sourceforge.net
Subject: Re: [Alsa-user] Audio codec channels as separate devices

Hello,

I have changed the /etc/asound.conf as below but nothing changed in alsamixer 
and aplay -l




pcm.!iteration {

     type plug

     slave.pcm "dmixer"

}



pcm.dmixer  {

     type dmix

     ipc_key 1024

     slave {

            pcm "hw:1,0"

            period_time 0

            period_size 1024

            buffer_size 4096

            rate 44100

     }

     bindings {

            0 0

            1 1

     }

}



ctl.dmixer {

     type hw

     card 0

}

On Mon, Jun 30, 2014 at 4:58 PM, Krause, Mathias 
<mathias.kra...@xse.de<mailto:mathias.kra...@xse.de>> wrote:
Hello,

yes, check a combination of "dmix" and "route" (or plug) to do that:
http://www.alsa-project.org/main/index.php/Asoundrc

-
Mathias



Hello, I want to use the channels of the usb audio codec with independent 
sounds. Is it possible to make these channels separate devices by using alsa 
plugins?


------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to