diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-06-03 21:09:16 +0200 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-06-07 22:28:32 +0200 |
commit | e45a92dc88498473e7392d4bea3efcc8a74089f8 (patch) | |
tree | cfa0cf325a82defd20a80fd867f4ebf706fd369d /libavutil/audioconvert.h | |
parent | 7a2b429175d9252c3a156e8f6795d5c6b85f07f1 (diff) | |
download | ffmpeg-e45a92dc88498473e7392d4bea3efcc8a74089f8.tar.gz |
audioconvert: implement av_bprint_channel_layout().
And reimplement av_get_channel_layout_string() on top of it.
Diffstat (limited to 'libavutil/audioconvert.h')
-rw-r--r-- | libavutil/audioconvert.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavutil/audioconvert.h b/libavutil/audioconvert.h index f402b62f63..319cc8ab71 100644 --- a/libavutil/audioconvert.h +++ b/libavutil/audioconvert.h @@ -133,6 +133,12 @@ uint64_t av_get_channel_layout(const char *name); */ void av_get_channel_layout_string(char *buf, int buf_size, int nb_channels, uint64_t channel_layout); +struct AVBPrint; +/** + * Append a description of a channel layout to a bprint buffer. + */ +void av_bprint_channel_layout(struct AVBPrint *bp, int nb_channels, uint64_t channel_layout); + /** * Return the number of channels in the channel layout. */ |