aboutsummaryrefslogtreecommitdiffstats
path: root/sound/firewire/bebob/bebob.h
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2014-04-25 09:45:18 -0400
committerTakashi Iwai <tiwai@suse.de>2014-05-26 08:30:16 -0400
commit248b78027d26735eb22f5ee91a400e5eabfea77d (patch)
treec0059652bb1b659b6d76f37b061e65e642e849b7 /sound/firewire/bebob/bebob.h
parentad9697bad78fab4665d93e61c702892e289e1764 (diff)
ALSA: bebob: Add MIDI interface
This commit adds a functionality to capture/playback MIDI messages. When no AMDTP streams are running, this module starts AMDTP stream at current sampling rate for MIDI substream. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/bebob/bebob.h')
-rw-r--r--sound/firewire/bebob/bebob.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/firewire/bebob/bebob.h b/sound/firewire/bebob/bebob.h
index 1247cca04f63..0d53cff8a68d 100644
--- a/sound/firewire/bebob/bebob.h
+++ b/sound/firewire/bebob/bebob.h
@@ -21,6 +21,7 @@
21#include <sound/core.h> 21#include <sound/core.h>
22#include <sound/initval.h> 22#include <sound/initval.h>
23#include <sound/info.h> 23#include <sound/info.h>
24#include <sound/rawmidi.h>
24 25
25#include "../lib.h" 26#include "../lib.h"
26#include "../fcp.h" 27#include "../fcp.h"
@@ -174,6 +175,8 @@ void snd_bebob_stream_destroy_duplex(struct snd_bebob *bebob);
174 175
175void snd_bebob_proc_init(struct snd_bebob *bebob); 176void snd_bebob_proc_init(struct snd_bebob *bebob);
176 177
178int snd_bebob_create_midi_devices(struct snd_bebob *bebob);
179
177#define SND_BEBOB_DEV_ENTRY(vendor, model) \ 180#define SND_BEBOB_DEV_ENTRY(vendor, model) \
178{ \ 181{ \
179 .match_flags = IEEE1394_MATCH_VENDOR_ID | \ 182 .match_flags = IEEE1394_MATCH_VENDOR_ID | \