ALSA: PCM: channel mapping API implementation
authorTakashi Iwai <tiwai@suse.de>
Fri, 27 Jul 2012 16:27:00 +0000 (18:27 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 6 Sep 2012 16:01:16 +0000 (18:01 +0200)
commit2d3391ec0ecca37efb6bc995906292f47522b471
tree129e8bce7b18bb9de48d6bc0e63806d22b40ad99
parenta8d372f171db9b90a64778fbcd9237c9bc256e06
ALSA: PCM: channel mapping API implementation

This patch implements the basic data types for the standard channel
mapping API handling.

- The definitions of the channel positions and the new TLV types are
  added in sound/asound.h and sound/tlv.h, so that they can be
  referred from user-space.

- Introduced a new helper function snd_pcm_add_chmap_ctls() to create
  control elements representing the channel maps for each PCM
  (sub)stream.

- Some standard pre-defined channel maps are provided for
  convenience.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/asound.h
include/sound/pcm.h
include/sound/tlv.h
sound/core/pcm.c
sound/core/pcm_lib.c