ALSA: usb-audio: add channel map support
authorTakashi Iwai <tiwai@suse.de>
Mon, 26 Nov 2012 15:24:02 +0000 (16:24 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 26 Nov 2012 15:24:02 +0000 (16:24 +0100)
commit04324ccc75f96b3ed7aad1c866d1b7925e977bdf
tree8ac8f049686de15f2241ea991f03a79d663dc65e
parent7cc17a31ff5ca3d8e1719af88907beec7b1fd24e
ALSA: usb-audio: add channel map support

Add the support for channel maps of the PCM streams on USB audio
devices.  The channel map information is already found in
ChannelConfig descriptor entries, which haven't been referred until
now.

Each chmap entry is added to audioformat list entry and copied to TLV
dynamically instead of creating a whole chmap array.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/card.h
sound/usb/stream.c