linux-stable/sound/firewire/digi00x
Takashi Sakamoto 9dc5d31cdc ALSA: firewire-digi00x: handle MIDI messages in isochronous packets
In Digi 002/003 protocol, MIDI messages are transferred in the last data
channel of data blocks. Although this data channel has a label of 0x80,
it's not fully MIDI conformant data channel especially because the Counter
field always zero independently of included MIDI bytes. The 4th byte of
the data channel in LSB tells the number of included MIDI bytes. This byte
also includes the number of MIDI port. Therefore, the data format in this
data channel is:
 * 1st: 0x80 as label
 * 2nd: MIDI bytes
 * 3rd: 0 or MIDI bytes
 * 4th: the number of MIDI byte and the number of MIDI port

This commit adds support of MIDI messages in data block processing layer.

Like AM824 data format, this data channel has a capability to transfer
more MIDI messages than the capability of phisical MIDI bus. Therefore, a
throttle for data rate is  required to prevent devices' internal buffer to
overflow.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2015-10-11 18:25:57 +02:00
..
amdtp-dot.c ALSA: firewire-digi00x: handle MIDI messages in isochronous packets 2015-10-11 18:25:57 +02:00
digi00x-hwdep.c ALSA: firewire-digi00x: add support for asynchronous messaging 2015-09-30 15:37:55 +02:00
digi00x-pcm.c ALSA: firewire-digi00x: add hwdep interface 2015-09-30 15:36:56 +02:00
digi00x-proc.c ALSA: firewire-digi00x: add proc node to show clock status 2015-09-30 15:35:31 +02:00
digi00x-stream.c ALSA: firewire-digi00x: handle MIDI messages in isochronous packets 2015-10-11 18:25:57 +02:00
digi00x-transaction.c ALSA: firewire-digi00x: add support for asynchronous messaging 2015-09-30 15:37:55 +02:00
digi00x.c ALSA: firewire-digi00x: add support for asynchronous messaging 2015-09-30 15:37:55 +02:00
digi00x.h ALSA: firewire-digi00x: handle MIDI messages in isochronous packets 2015-10-11 18:25:57 +02:00
Makefile ALSA: firewire-digi00x: add support for asynchronous messaging 2015-09-30 15:37:55 +02:00