]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: firewire-lib: Add support for channel mapping
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 25 Apr 2014 13:44:50 +0000 (22:44 +0900)
committerTakashi Iwai <tiwai@suse.de>
Mon, 26 May 2014 12:14:41 +0000 (14:14 +0200)
commit2821d3775f6180810448a52dbbf0313187ae02a9
tree6fc94490618aba36989424ab3fc294db6eff2307
parent853f29261e8b7e71ad6ba953a6011fc8177a2d91
ALSA: firewire-lib: Add support for channel mapping

Some devices arrange the position of PCM/MIDI data channel in AMDTP packet.
This commit allows drivers to set channel mapping.

To be simple, the mapping table is an array with fixed length. Then the number
of channels for PCM is restricted by 64 channels.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/amdtp.c
sound/firewire/amdtp.h