diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2014-12-08 16:10:39 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-12-10 10:46:14 +0100 |
commit | a113ff886b9a6e892dd4107be1fd7883cf020885 (patch) | |
tree | a912449442c246b35652f16758dc9d1029626525 /sound/firewire/dice/dice.h | |
parent | ALSA: dice: Add support for capturing PCM samples (diff) | |
download | linux-a113ff886b9a6e892dd4107be1fd7883cf020885.tar.xz linux-a113ff886b9a6e892dd4107be1fd7883cf020885.zip |
ALSA: dice: Add support for MIDI capture/playback
This commit adds a support for MIDI capture/playback
When MIDI substrams already start streaming and PCM substreams are going to
join at different sampling rate, streams are stopped once. Then sampling rate
is changed and streams are restarted.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Acked-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to '')
-rw-r--r-- | sound/firewire/dice/dice.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/firewire/dice/dice.h b/sound/firewire/dice/dice.h index f30326e22288..ecf5dc862235 100644 --- a/sound/firewire/dice/dice.h +++ b/sound/firewire/dice/dice.h @@ -32,6 +32,7 @@ #include <sound/initval.h> #include <sound/pcm.h> #include <sound/pcm_params.h> +#include <sound/rawmidi.h> #include "../amdtp.h" #include "../iso-resources.h" @@ -183,4 +184,6 @@ int snd_dice_create_hwdep(struct snd_dice *dice); void snd_dice_create_proc(struct snd_dice *dice); +int snd_dice_create_midi(struct snd_dice *dice); + #endif |