On 10/26/07, Clemens Ladisch <cladisch@xxxxxxxxxxxxxx> wrote:
Allen Kennedy wrote:
> On 10/25/07, Clemens Ladisch <cladisch@xxxxxxxxxxxxxx> wrote:
>> 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
>> }
>> }
>> }
>
> ...
> One issue though, it appears as though your solution would only
> route a single channel of the input wave file.
The "plug" plugin should automatically downmix multichannel data before
sending it to the dshare plugin.
What is the output of "aplay -v -D channel:0 somestereo.wav"?
> slave.pcm "channel:" +$CHANNEL # can't figure out how to concat
That line would have to be written like this:
slave.pcm { @func concat strings [ "channel:" $CHANNEL ] }
Regards,
Clemens
thanks for the syntax.
The output from the aplay statement is nothing. I get no sound output at all
when I play a mono wav file it works great.
No big deal though, I put in the route statements and now it works like i want it too.
with both stereo, and mono files.
thanks for your help.
-AllenKll
------------------------------------------------------------------------- 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 Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user