[FFmpeg-devel] [libav-devel] [PATCH] lavu/audioconvert: add av_guess_channel_layout() function

Stefano Sabatini stefano.sabatini-lala at poste.it
Sun Sep 11 01:05:46 CEST 2011


On date Saturday 2011-09-10 18:50:11 -0400, Luca Barbato encoded:
> On 9/10/11 6:36 PM, Stefano Sabatini wrote:
> >---
> >  doc/APIchanges           |    3 +++
> >  libavutil/audioconvert.c |   14 ++++++++++++++
> >  libavutil/audioconvert.h |    8 ++++++++
> >  3 files changed, 25 insertions(+), 0 deletions(-)
> >
> 
> It seems mapping more than guessing. what about
> av_default_channel_layout() ?

I'm a bit against av_default_channel_layout (-> no verb, does not say
much about what the function does), what about

av_get_channel_layout_from_nb_channels() ?

longer but possibly more descriptive.


More information about the ffmpeg-devel mailing list