]> git.alsa-project.org Git - alsa-lib.git/commit
Fix generation of IEC958 subframes
authorTakashi Iwai <tiwai@suse.de>
Thu, 17 Nov 2005 12:08:32 +0000 (12:08 +0000)
committerTakashi Iwai <tiwai@suse.de>
Thu, 17 Nov 2005 12:08:32 +0000 (12:08 +0000)
commit6b85e23fa3d623a37de6bf0439cd68bef7229931
tree14d16e7e835c73a241906f7bd2570247a1727377
parent367c3fc6ceb924514b48a1f976b5ce16ab26e22d
Fix generation of IEC958 subframes
From: Nicolas Boullis <nboullis@debian.org>

While working on an ALSA driver for the audio part of em8300-based MPEG
decoder boards (Sigma Designs' Hollywood+ boards and Creative Labs' DXR3
boards), I think I discovered a bug in the code that generates IEC958
subframes from linear samples (iec958 plugin): M and W preambles are
swapped, and B preambles should only be used on even subframes. The
attached patch fixes this issue.
src/pcm/pcm_iec958.c