PCM: Add chmap options to hw and null plugins

Add a config definition "chmap" to override (or enhance) the channel
maps.  So far, only a single channel map can be provided, and the
channel count consistency isn't strictly tested at all.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Takashi Iwai 2012-09-12 14:47:17 +02:00
parent 81135aac49
commit e1975d20f5
4 changed files with 111 additions and 1 deletions

View file

@ -973,3 +973,8 @@ static inline void gettimestamp(snd_htimestamp_t *tstamp, int monotonic)
}
#endif
}
snd_pcm_chmap_query_t **
_snd_pcm_make_single_query_chmaps(snd_pcm_chmap_t *src);
snd_pcm_chmap_t *_snd_pcm_copy_chmap(snd_pcm_chmap_t *src);