> Thanks for the tip.  I tried your suggestion, but it doesn't work for
> me.  My .asoundrc now has this in it:
>
> pcm.maudio_analog {
>       type hw
>       card 1
>       device 0
> }
>
> pcm.maudio_spdif {
>       type plug
>         ttable.0.8 1
>         ttable.1.9 1
>         slave.pcm {
>                 type hw
>                 card 1
>                 device 0
>         }
> }
>
> I can play sound fine through the analog channel:
> [EMAIL PROTECTED] thoffman]$ aplay -D plug:maudio_analog 12.wav
> Playing WAVE '12.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
> Stereo
>
> But when I try to use the spdif channel, I get an error:
>
> [EMAIL PROTECTED] thoffman]$ aplay -D plug:maudio_spdif 12.wav
> Playing WAVE '12.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
> Stereo
> aplay: pcm_write:1083: write error: Invalid argument

It should be -D maudio_spdif, so lose the plug: and it will work. I think
the analog should also work without plug.

Tommi


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to