X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavutil%2Faudioconvert.h;h=8cef7f650a9303cccbd0f1086c8978394de7f3cf;hb=c2553a5585c381971eca55e9e008cf4caee919fe;hp=134c6107c9d1e75ebf54fcfd0b21681c195d76de;hpb=1a34478b7183b1a08caab7eac56b452609725736;p=ffmpeg diff --git a/libavutil/audioconvert.h b/libavutil/audioconvert.h index 134c6107c9d..8cef7f650a9 100644 --- a/libavutil/audioconvert.h +++ b/libavutil/audioconvert.h @@ -92,4 +92,9 @@ void av_get_channel_layout_string(char *buf, int buf_size, int nb_channels, int6 */ int av_get_channel_layout_nb_channels(int64_t channel_layout); +/** + * Return default channel layout for a given number of channels. + */ +int64_t av_get_default_channel_layout(int nb_channels); + #endif /* AVUTIL_AUDIOCONVERT_H */