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>
This commit is contained in:

committed by
Takashi Iwai

parent
ad9697bad7
commit
248b78027d
@@ -21,6 +21,7 @@
|
||||
#include <sound/core.h>
|
||||
#include <sound/initval.h>
|
||||
#include <sound/info.h>
|
||||
#include <sound/rawmidi.h>
|
||||
|
||||
#include "../lib.h"
|
||||
#include "../fcp.h"
|
||||
@@ -174,6 +175,8 @@ void snd_bebob_stream_destroy_duplex(struct snd_bebob *bebob);
|
||||
|
||||
void snd_bebob_proc_init(struct snd_bebob *bebob);
|
||||
|
||||
int snd_bebob_create_midi_devices(struct snd_bebob *bebob);
|
||||
|
||||
#define SND_BEBOB_DEV_ENTRY(vendor, model) \
|
||||
{ \
|
||||
.match_flags = IEEE1394_MATCH_VENDOR_ID | \
|
||||
|
Reference in New Issue
Block a user