[alsa-devel] [PATCH v2] Fix forward/rewind support in iec958 plugin

Clemens Ladisch clemens at ladisch.de
Fri Apr 25 10:09:37 CEST 2014


Raymond Yau wrote:
>> When forwarding or rewinding, the frame counter was not updated. This
>> could result in corrupted channel status words or misplaced Z-type
>> preamble.
>
> Do you mean it is the responsibility for a52 and dca plugin to return the
> SAFE value returned by snd_pcm_rewindable and snd_pcm_forwardable since
> they enocde the audio and padding zeros and write to IEC958 ?

The a52/dca plugins create data to be transferred over S/PDIF, but this
does not imply they use the iec958 plugin.

The iec958 plugin is used for sound cards that do not have a hardware
IEC958 encoder.  This is very unlikely nowadays.


Regards,
Clemens


More information about the Alsa-devel mailing list