Allen Kennedy wrote:
>   I'm trying to get an asound.conf file set up that will allow me
> to play 5 different wav files over separate channels
> simultaneously, with a command like this:
>
> #aplay -D channel1 1.wav & aplay -D channel2 2.wav &
>   aplay -D channel3 3.wav & aplay -D channel4 4.wav &
>   aplay -D channel5 5.wav

Try this:

pcm.channel {
        @args [ CHANNEL ]
        @args.CHANNEL {
                type integer
        }
        type plug
        slave.pcm {
                type dshare
                ipc_key 220057      # some random but unique number
                slave.pcm "hw:0"    # the output device
                slave.channels 6
                bindings {
                        0 $CHANNEL
                }
        }
}


Then you can use devices "channel:0" through "channel:5".


HTH
Clemens

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to