linux-stable/sound/firewire/digi00x
Takashi Sakamoto 8820a4cf0c ALSA: firewire-digi00x: handle all MIDI messages on streaming packets
At a commit 9dc5d31cdc ("ALSA: firewire-digi00x: handle MIDI messages in
isochronous packets"), a functionality to handle MIDI messages on
isochronous packet was supported. But this includes some of my
misunderstanding. This commit is to fix them.

For digi00x series, first data channel of data blocks in rx/tx packet
includes MIDI messages. The data channel has 0x80 in 8 bit of its MSB,
however it's against IEC 61883-6. Unique data format is applied:
 - Upper 4 bits of LSB represent port number.
  - 0x0: port 1.
  - 0x2: port 2.
  - 0xe: console port.
 - Lower 4 bits of LSB represent the number of included MIDI message bytes;
   0x0/0x1/0x2.
 - Two bytes of middle of this data channel have MIDI bytes.

Especially, MIDI messages from/to console surface are also transferred by
isochronous packets, as well as physical MIDI ports.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2017-04-05 21:34:10 +02:00
..
amdtp-dot.c ALSA: firewire-digi00x: handle all MIDI messages on streaming packets 2017-04-05 21:34:10 +02:00
digi00x-hwdep.c ALSA: firewire-digi00x: enclose identifiers referred by single function 2017-01-05 16:58:07 +01:00
digi00x-midi.c ALSA: firewire: Constify snd_rawmidi_ops 2017-01-12 12:50:38 +01:00
digi00x-pcm.c ALSA: firewire-digi00x: enclose identifiers referred by single function 2017-01-05 16:58:07 +01: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: add support for MIDI ports corresponding to isochronous packet streaming 2015-10-11 18:26:04 +02:00
digi00x-transaction.c ALSA: firewire-digi00x: delayed registration of sound card 2016-03-31 15:36:20 +02:00
digi00x.c ALSA: firewire-digi00x: add support for console models of Digi00x series 2017-04-05 21:34:08 +02:00
digi00x.h ALSA: firewire-digi00x: add support for console models of Digi00x series 2017-04-05 21:34:08 +02:00
Makefile ALSA: firewire-digi00x: add support for MIDI ports corresponding to isochronous packet streaming 2015-10-11 18:26:04 +02:00