On Mon, 28 Jan 2002, Erik Mouw wrote:

> Hi all,
>
> I don't get any sound from the S/PDIF output of my M-Audio Audiophile
> 24/96 when using ALSA native mode. This is what I tried:
>
>   madplay -o raw:- test.mp3 | aplay -c 2 -f S16_LE -r 44100 -D plughw:1
>
> This gives only sound output on the analog output (the Audiophile is
> the second sound card, the first card is a SB AWE64 Gold which I use
> for desktop audio). If I try to select a second output, it simply
> doesn't work:
>
>   madplay -o raw:- test.mp3 | aplay -c 2 -f S16_LE -r 44100 -D plughw:1,1
>   ALSA lib pcm_hw.c:597:(snd_pcm_hw_open) open /dev/snd/pcmC1D1p failed: No such 
>file or directory
>   aplay: main:446: audio open error: No such file or directory
>
> However, S/PDIF output works perfectly with OSS emulation:
>
>   madplay -o /dev/dsp1 test.mp3
>
> The manual shows that the Windows drivers make a difference between the
> analog and S/PDIF output, so I expect that ALSA can do the same. Could
> somebody shed a light on this before I dig up a datasheet and hack the
> driver myself?

Because ICE1712 chip offers 10-channel playback for professional PCM
device, you need to specify the channel conversion policy for alsa-lib to
convert standard stereo stream for hardware format.

Plugins are described here (or in alsa-lib/doc/asoundrc.txt):

http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html#pcm_plugins

Look for 'Automatic conversion plugin' and 'route_policy' keyword.

More information about configuration files can be found at
http://www.alsa-project.org/alsa-doc/alsa-lib/ page.

                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
SuSE Linux    http://www.suse.com
ALSA Project  http://www.alsa-project.org


_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to