]> git.alsa-project.org Git - alsa-lib.git/commit
PCM: Add string conversion helper functions for chmap
authorTakashi Iwai <tiwai@suse.de>
Mon, 10 Sep 2012 16:07:36 +0000 (18:07 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 13 Sep 2012 06:24:58 +0000 (08:24 +0200)
commitb4c64e815a051e711798be1d772f123d19c1ff6e
tree2f2723d458475a61d5ded94016382bd7592e1286
parent6950a1030c4f878b51104268e3cd13401d56bf60
PCM: Add string conversion helper functions for chmap

Added a few helper functions between chmap and string.
  snd_pcm_chmap_type_name() -- a string of the given chmap type
  snd_pcm_chmap_name() -- a string of the given channel position
  snd_pcm_chmap_print() -- print channel map on the given buffer
  snd_pcm_chmap_from_string() -- get a channel position from string
  snd_pcm_parse_string() -- parse the whole channel map from string

Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/pcm.h
src/pcm/pcm.c
test/chmap.c