Mercurial > libavcodec.hg
diff audioconvert.h @ 12425:d23e48091c51 libavcodec
Implement avcodec_get_channel_layout().
Patch by S.N. Hemanth Meenakshisundaram smeenaks:ucsd+edu.
author | stefano |
---|---|
date | Thu, 26 Aug 2010 00:38:25 +0000 |
parents | d796f05e90f5 |
children | a5ddb39627fd |
line wrap: on
line diff
--- a/audioconvert.h Wed Aug 25 20:36:35 2010 +0000 +++ b/audioconvert.h Thu Aug 26 00:38:25 2010 +0000 @@ -60,6 +60,11 @@ const char *avcodec_get_channel_name(int channel_id); /** + * @return channel layout that matches name, 0 if no match + */ +int64_t avcodec_get_channel_layout(const char *name); + +/** * Return description of channel layout */ void avcodec_get_channel_layout_string(char *buf, int buf_size, int nb_channels, int64_t channel_layout);