[alsa-devel] [PATCH] Re: iec958 switch uneffective while playing ac3 stream
Dominique Dumont
domi.dumont at free.fr
Thu Apr 12 20:25:25 CEST 2007
Takashi Iwai <tiwai at 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
More information about the Alsa-devel
mailing list