summaryrefslogtreecommitdiff
path: root/sound/firewire/amdtp-stream.h
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2019-07-22 06:36:56 +0300
committerTakashi Iwai <tiwai@suse.de>2019-07-22 17:05:00 +0300
commit3baf30532f94030244a31a275b546d042656c535 (patch)
treea8b92f5cf7c20ca9e5a190e5a9f91b2a005ff072 /sound/firewire/amdtp-stream.h
parenta35463d1f77d9e5244d6f4953d3c7f3a27c7625e (diff)
downloadlinux-3baf30532f94030244a31a275b546d042656c535.tar.xz
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>
Diffstat (limited to 'sound/firewire/amdtp-stream.h')
-rw-r--r--sound/firewire/amdtp-stream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/firewire/amdtp-stream.h b/sound/firewire/amdtp-stream.h
index 762ac3c7e902..5b9d4212e202 100644
--- a/sound/firewire/amdtp-stream.h
+++ b/sound/firewire/amdtp-stream.h
@@ -133,6 +133,7 @@ struct amdtp_stream {
// To generate CIP header.
unsigned int fdf;
+ int syt_override;
} rx;
} ctx_data;