: IEC958 subframes are not generated correctly by the iec958 plugin
The following issue has been SUBMITTED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1570>
======================================================================
Reported By: nboullis
Assigned To:
======================================================================
Project: ALSA - lib Issue ID: 1570 Category: 0_general Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 11-17-2005 01:21 CET Last Modified: 11-17-2005 01:21 CET
======================================================================
Summary: IEC958 subframes are not generated correctly by the
iec958 plugin
Description:
If I understand it correctly (see
http://www.epanorama.net/documents/audio/spdif.html for example) all non-first channels should use the W preamble, while the first channel should use the B preamble once in each block (192 subframes) and the M preamble otherwise.
This would lead to the following sequence of preambles:
BWMWMWMWMW....MW
On the other hand, the current code generates B preambles for all the channels once in each block, otherwise W preambles for the first channel, and M preambles for the other channels.
This leads to the following sequence of preambles:
BBWMWMWMWM....WM
Hence, it appears that M and W preambles are swapped (but this would be fixable by swapping the values of the preambles), but also that there are extraneous B preambles.
The attached patch fixes this issue.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
11-17-05 01:21 nboullis New Issue
11-17-05 01:21 nboullis File Added: alsa-lib.patch
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click