Mercurial > libavcodec.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
12424:fbdc4391dedc | 12425:d23e48091c51 |
---|---|
58 * @return NULL on error | 58 * @return NULL on error |
59 */ | 59 */ |
60 const char *avcodec_get_channel_name(int channel_id); | 60 const char *avcodec_get_channel_name(int channel_id); |
61 | 61 |
62 /** | 62 /** |
63 * @return channel layout that matches name, 0 if no match | |
64 */ | |
65 int64_t avcodec_get_channel_layout(const char *name); | |
66 | |
67 /** | |
63 * Return description of channel layout | 68 * Return description of channel layout |
64 */ | 69 */ |
65 void avcodec_get_channel_layout_string(char *buf, int buf_size, int nb_channels, int64_t channel_layout); | 70 void avcodec_get_channel_layout_string(char *buf, int buf_size, int nb_channels, int64_t channel_layout); |
66 | 71 |
67 /** | 72 /** |