summaryrefslogtreecommitdiff
path: root/sound/firewire/digi00x/digi00x.h
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2015-10-11 12:30:17 +0900
committerTakashi Iwai <tiwai@suse.de>2015-10-11 18:26:09 +0200
commit3646a54acda65afdd76737d40c0994b991742e01 (patch)
treeb4e81e2afff311b611f87d7fbf484d2f594769b7 /sound/firewire/digi00x/digi00x.h
parent9fbfd38b204a3f04272183c0258a3ded03a5aae8 (diff)
ALSA: firewire-digi00x: add support of asynchronous transaction for incoming MIDI messages from physical controls
Digi 00x series has two types of model; rack and console. The console models have physical controls. The model can transmit control messages. These control messages are transferred by asynchronous transactions to registered address. This commit supports the asynchronous transaction. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/digi00x/digi00x.h')
-rw-r--r--sound/firewire/digi00x/digi00x.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/firewire/digi00x/digi00x.h b/sound/firewire/digi00x/digi00x.h
index 89494d037da3..630f6aabb909 100644
--- a/sound/firewire/digi00x/digi00x.h
+++ b/sound/firewire/digi00x/digi00x.h
@@ -53,6 +53,9 @@ struct snd_dg00x {
/* For asynchronous messages. */
struct fw_address_handler async_handler;
u32 msg;
+
+ /* For asynchronous MIDI controls. */
+ struct snd_rawmidi_substream *in_control;
};
#define DG00X_ADDR_BASE 0xffffe0000000ull