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

Reply via email to