[PATCH] Re: iec958 switch uneffective while playing ac3 stream

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Takashi Iwai <tiwai@xxxxxxx> writes:

>> I reckon that setting the stream *then* the digi converter would be safer.
>
> OK, now question is whether we need to turn off DIGI_CONV* once before
> setting it up again.
>
> Anyway, a test patch is below.  It forces to set DIGI_CONV* verbs in
> prepare.  Give it a try.

Sorry, your patch does not work.

On the other hand I've tested another idea. In azx_pcm_prepare, I switch
off iec958 DigEn before setting up stream format, and sending other verbs.
At the end of azx_pcm_prepare, I restore the switch status.

And guess what ? It works, I get dolby digital !! :-)

And Dag, guess what also: 44KHz spdif output also works :-D

I've included the patch which implement the behavior described
above. Although this diff may be more a hack than a patch ... Feel
free to modify it to better suit the driver's design.

Cheers

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux