aboutsummaryrefslogtreecommitdiffstats
path: root/sound/firewire/amdtp.h
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2014-04-25 09:45:03 -0400
committerTakashi Iwai <tiwai@suse.de>2014-05-26 08:24:33 -0400
commit7ab566453fe32d6745a82772a16e9bc34c5403a5 (patch)
tree30732973953135dc33d10b163b3624ef9cb867dd /sound/firewire/amdtp.h
parent315fd41fe9d43838ab5afd26c58d908d18313d9a (diff)
ALSA: fireworks/firewire-lib: Add a quirk for empty packet with TAG0
Fireworks has a quirk to transmit empty packets with TAG0. This commit adds handling this quirk for full duplex stream synchronization. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/amdtp.h')
-rw-r--r--sound/firewire/amdtp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/firewire/amdtp.h b/sound/firewire/amdtp.h
index 3de34639b1c7..96b96ec812b2 100644
--- a/sound/firewire/amdtp.h
+++ b/sound/firewire/amdtp.h
@@ -18,11 +18,13 @@
18 * the overall sample rate comes out right. 18 * the overall sample rate comes out right.
19 * @CIP_SYNC_TO_DEVICE: In sync to device mode, time stamp in out packets is 19 * @CIP_SYNC_TO_DEVICE: In sync to device mode, time stamp in out packets is
20 * generated by in packets. Defaultly this driver generates timestamp. 20 * generated by in packets. Defaultly this driver generates timestamp.
21 * @CIP_EMPTY_WITH_TAG0: Only for in-stream. Empty in-packets have TAG0.
21 */ 22 */
22enum cip_flags { 23enum cip_flags {
23 CIP_NONBLOCKING = 0x00, 24 CIP_NONBLOCKING = 0x00,
24 CIP_BLOCKING = 0x01, 25 CIP_BLOCKING = 0x01,
25 CIP_SYNC_TO_DEVICE = 0x02, 26 CIP_SYNC_TO_DEVICE = 0x02,
27 CIP_EMPTY_WITH_TAG0 = 0x04,
26}; 28};
27 29
28/** 30/**