]> asedeno.scripts.mit.edu Git - linux.git/commit
ALSA: firewire-lib: add syt_override member for some protocols
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 22 Jul 2019 03:36:56 +0000 (12:36 +0900)
committerTakashi Iwai <tiwai@suse.de>
Mon, 22 Jul 2019 14:05:00 +0000 (16:05 +0200)
commit3baf30532f94030244a31a275b546d042656c535
treea8b92f5cf7c20ca9e5a190e5a9f91b2a005ff072
parenta35463d1f77d9e5244d6f4953d3c7f3a27c7625e
ALSA: firewire-lib: add syt_override member for some protocols

Some protocols don't use syt field of CIP header to represent
presentation timestamp. For such protocol, ALSA IEC 61883-1/6
packet streaming engine uses a pointer into local variable for
the value of syt to call data block processing layer. However,
it can decide the value when initializing packet streaming
layer.

This commit adds 'syt_override' member for packet streaming
layer.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/amdtp-stream.c
sound/firewire/amdtp-stream.h
sound/firewire/motu/amdtp-motu.c
sound/firewire/tascam/amdtp-tascam.c