On the SB Live, one opens the device for SPDIF out with device name: "iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2"
Can the C-Media card also support this ? Then an application like xine, could use the same device name for all audio cards when using alsa 0.9.x Cheers James > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Thomas > Tonino > Sent: 30 January 2002 21:19 > To: Takashi Iwai > Cc: alsa-user; [EMAIL PROTECTED] > Subject: Re: [Alsa-devel] Re: [Alsa-user] C-Media 8738 SPDIF problem > > > Takashi Iwai wrote: > > > > >- Disable all "IEC958 *" switches except for "IEC958 Output Switch" > > (probably "IEC958 5V" too) > >- run "aplay -Dhw:0,2 foo.wav" and get dump from > > /proc/asound/card0/cmipci. > > > This works: I get output on analog and on spdif. Hurray! > > Some further experiments: setting iec958 in monitor to M mutes the > analog out ((replaced by the spdif input? doesn't work, isn't this label > working in reverse btw?), but I cannot hear the incoming spdif signal on > analog out, no matter what settings I try. This is with optical and > electrical connected at the same time. > > But, we have the same level of functionality as OSS. Good! > > Still, the Mix Analog option does not work. Gives full scale output on > the DAT VU meter. No sound though - looks like full scale DC. > > > > >If it still doesn't work, try to swap channel 0 and channel 1 by > >changing the definition around line 297 like below: > > > >#define CM_CH_PLAY 1 // 0 as default > >#define CM_CH_CAPT 0 // 1 as default > > > Didn't try this. > > By the way, would it make sense to have the hw:0,2 device as default? It > uses the same analog out as the normal output, but enables spdif. Or > will this break cards without spdif? > > I'm now off to windows, try to get a register dump there... > > > Thomas > > > > _______________________________________________ > Alsa-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/alsa-devel _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel