On 2 Aug 2003, Karl Fogel wrote:

> Jaroslav Kysela <[EMAIL PROTECTED]> writes:
> > Known bug. The problem is that playback and capture channels are 
> > assymetric for the envy24 chip and we cannot define dual configuration 
> > separate for playback and capture.
> > 
> > You may change the line in /usr/share/alsa/cards/ICE1712.conf from
> > 
> > slave.channels 10
> > 
> > to 
> > 
> > slave.channels 12
> > 
> > and capture will work, but playback will failure.
> > 
> > Or define new S/PDIF PCM for capture in ~/.asoundrc:
> > 
> > pcm.spdif_cap {
> >     ... copy contents of ICE1712.pcm.iec958.0 {} from ICE1712.conf here ...
> >     ... and replace 10 with 12 ...
> > }
> 
> Okay, got it now.  The first way worked, the second way didn't.  And
> oddly enough, even after I changed slave.channels to 12 in
> /usr/share/alsa/cards/ICE1712.conf, I can still play back.  The
> commands
> 
>    # aplay foo.wav
>    # ogg123 foo.ogg

But 'aplay -D plug:spdif <...>' will fail.

> continue to work, but now this also works:
> 
>    # arecord -f cd -t wav -D iec958 foo.wav
> 
> I recorded twice from the same digital source, to confirm that I was
> getting a bit-for-bit copy, and it was exactly the same both times
> (modulo head and tail noise, of course).
> 
> If you want, I can post more details about the failure of the
> ~/.asoundrc way; but I'll spare you the noise unless you ask for it.

Did you used the 'plug:spdif_cap' device?

                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to