aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/firewire/digi00x/digi00x.h
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2015-10-11 12:30:16 +0900
committerTakashi Iwai <tiwai@suse.de>2015-10-11 18:26:04 +0200
commit9fbfd38b204a3f04272183c0258a3ded03a5aae8 (patch)
tree148f0e92d36712733e7dfdfa3b4309f27ade5fb3 /sound/firewire/digi00x/digi00x.h
parentALSA: firewire-digi00x: handle MIDI messages in isochronous packets (diff)
downloadwireguard-linux-9fbfd38b204a3f04272183c0258a3ded03a5aae8.tar.xz
wireguard-linux-9fbfd38b204a3f04272183c0258a3ded03a5aae8.zip
ALSA: firewire-digi00x: add support for MIDI ports corresponding to isochronous packet streaming
This commit adds MIDI functionality to capture/playback MIDI messages from/to physical MIDI ports. These messages are transferred in isochronous packets. When no substreams request AMDTP streams to run, this driver starts the streams at current sampling rate. When other substreams start at different sampling rate, the streams are stopped temporarily, then start again at requested sampling rate. This operation can generate missing MIDI bytes, thus it's preferable to start PCM substreams at favorite sampling rate in advance. Digi 002/003 console also has a set of MIDI port for physical controls. These ports are added in later commits. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/firewire/digi00x/digi00x.h b/sound/firewire/digi00x/digi00x.h
index 88df67be5477..89494d037da3 100644
--- a/sound/firewire/digi00x/digi00x.h
+++ b/sound/firewire/digi00x/digi00x.h
@@ -147,5 +147,7 @@ void snd_dg00x_proc_init(struct snd_dg00x *dg00x);
int snd_dg00x_create_pcm_devices(struct snd_dg00x *dg00x);
+int snd_dg00x_create_midi_devices(struct snd_dg00x *dg00x);
+
int snd_dg00x_create_hwdep_device(struct snd_dg00x *dg00x);
#endif