Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-07-30 12:26:40 +0400
committerNicolas George <nicolas.george@normalesup.org>2012-07-30 13:38:38 +0400
commitf893904469946cc86e28f329a47603b14d580c76 (patch)
tree15eeb708399f6be114d1ad246246337a6239cfeb /libavutil/audioconvert.h
parent33449b1776169f18c96f485e37ab6ae42769621b (diff)
audioconvert: add av_get_standard_channel_layout().
Also bump minor version and add APIchanges entry.
Diffstat (limited to 'libavutil/audioconvert.h')
-rw-r--r--libavutil/audioconvert.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libavutil/audioconvert.h b/libavutil/audioconvert.h
index f1399b964c..5ddda0cbc5 100644
--- a/libavutil/audioconvert.h
+++ b/libavutil/audioconvert.h
@@ -189,6 +189,18 @@ const char *av_get_channel_name(uint64_t channel);
const char *av_get_channel_description(uint64_t channel);
/**
+ * Get the value and name of a standard channel layout.
+ *
+ * @param[in] index index in an internal list, starting at 0
+ * @param[out] layout channel layout mask
+ * @param[out] name name of the layout
+ * @return 0 if the layout exists,
+ * <0 if index is beyond the limits
+ */
+int av_get_standard_channel_layout(unsigned index, uint64_t *layout,
+ const char **name);
+
+/**
* @}
*/