summaryrefslogtreecommitdiffstats
path: root/include/uapi/sound
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2018-11-23 05:13:03 +0100
committerTakashi Iwai <tiwai@suse.de>2018-11-23 15:31:08 +0100
commit33b2e1442aeaacabb4e29f8adb31469e87599b16 (patch)
tree21e65c35bffdf823c29dcd81ade13860d27631aa /include/uapi/sound
parentALSA: aoa: Use device_type helpers to access the node type (diff)
downloadlinux-33b2e1442aeaacabb4e29f8adb31469e87599b16.tar.xz
linux-33b2e1442aeaacabb4e29f8adb31469e87599b16.zip
ALSA: firewire-tascam: pick up data of state from tx isochronous pakcets
Units of TASCAM FireWire series multiplex PCM frames and state of control surface into the same tx isochronous packets. One isochronous packet includes a part of the state in a quadlet data. An image of the state consists of 64 quadlet data. This commit demultiplexes the state from tx isochronous packets. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/uapi/sound')
-rw-r--r--include/uapi/sound/firewire.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/sound/firewire.h b/include/uapi/sound/firewire.h
index f0a547d86679..b9bc4bb1756b 100644
--- a/include/uapi/sound/firewire.h
+++ b/include/uapi/sound/firewire.h
@@ -88,4 +88,6 @@ struct snd_firewire_get_info {
* Returns -EBUSY if the driver is already streaming.
*/
+#define SNDRV_FIREWIRE_TASCAM_STATE_COUNT 64
+
#endif /* _UAPI_SOUND_FIREWIRE_H_INCLUDED */