12 Apr
2007
12 Apr
'07
8:25 p.m.
Takashi Iwai tiwai@suse.de writes:
After reconsideration, I found it much easier to change the driver to allow access to the dedicated SPDIF stream even while analog dup mode. When the SPDIF stream is opened, the SPDIF is forced to reset and then the stream is reserved for the exclusive access until it's closed.
The below is a test patch. Now you see it's so simple...
Can anyone test it?
Done. It does not work:
$ ac3dec -C -c 1 dh122.ac3 Using PCM device 'plug:iec958:{AES0 0x2 AES1 0x82 AES2 0x0 AES3 0x2 CARD 1}' snd_pcm_open: Device or resource busy Output open failed
I can't find a trace to explain why in kern.log or in syslog.
If necessary, I'll dig further this week-end.
Cheers