OSDN Git Service

pcm: Fix forward/rewind support in iec958 plugin
authorAlexander E. Patrakov <patrakov@gmail.com>
Thu, 24 Apr 2014 14:40:06 +0000 (20:40 +0600)
committerTakashi Iwai <tiwai@suse.de>
Mon, 28 Apr 2014 16:09:56 +0000 (18:09 +0200)
commit80a43f23dbca7a440cc95f73feecf20516eb99de
tree8e99b5d3cc65a61c23672a651c61e478ab28adba
parent351870fd2d3245c33e9e8bc722f14041172513c2
pcm: Fix forward/rewind support in iec958 plugin

When forwarding or rewinding, the frame counter was not updated. This
could result in corrupted channel status words or misplaced Z-type
preamble.

Signed-off-by: Alexander E. Patrakov <patrakov@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/pcm_iec958.c
src/pcm/pcm_plugin.c
src/pcm/pcm_plugin.h