OpenCloudOS-Kernel/sound/firewire/motu
Takashi Sakamoto 9e796e7d59 ALSA: firewire-motu: add MIDI functionality
In MOTU FireWire series, MIDI messages are multiplexed to isochronous
packets as well as PCM frames, while the way is different from the one
in IEC 61883-6.

MIDI messages are put into a certain position in message chunks. One data
block can includes one byte of the MIDI messages. When data block includes
a MIDI byte, the block has a flag in a certain position of the message
chunk. These positions are unique depending on protocols.

Once a data block includes a MIDI byte, some following data blocks includes
no MIDI bytes. Next MIDI byte appears on a data block corresponding to
next cycle of physical MIDI bus. This seems to avoid buffer overflow caused
by bandwidth differences between IEEE 1394 bus and physical MIDI bus.

This commit adds MIDI functionality to transfer/receive MIDI messages.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2017-03-28 12:33:56 +02:00
..
Makefile ALSA: firewire-motu: add MIDI functionality 2017-03-28 12:33:56 +02:00
amdtp-motu.c ALSA: firewire-motu: add MIDI functionality 2017-03-28 12:33:56 +02:00
motu-midi.c ALSA: firewire-motu: add MIDI functionality 2017-03-28 12:33:56 +02:00
motu-pcm.c ALSA: firewire-motu: add PCM functionality 2017-03-28 12:33:53 +02:00
motu-proc.c ALSA: firewire-motu: add proc node to show current statuc of clock and packet formats 2017-03-28 12:33:51 +02:00
motu-stream.c ALSA: firewire-motu: add MIDI functionality 2017-03-28 12:33:56 +02:00
motu-transaction.c ALSA: firewire-motu: handle transactions specific for MOTU FireWire models 2017-03-28 12:33:32 +02:00
motu.c ALSA: firewire-motu: add MIDI functionality 2017-03-28 12:33:56 +02:00
motu.h ALSA: firewire-motu: add MIDI functionality 2017-03-28 12:33:56 +02:00