[FFmpeg-devel] [PATCH] 8 channel layout fix for Vorbis decoder

Frank Barchard fbarchard
Wed Nov 4 04:29:56 CET 2009


On Tue, Nov 3, 2009 at 6:04 PM, Jason Tackaberry <tack at urandom.ca> wrote:

> On Tue, 2009-11-03 at 17:52 -0800, Frank Barchard wrote:
> > This layout sounds sensible.  But mainly it would help if Vorbis were the
> > same as AAC.
>
> AAC doesn't define a layout for 7 channels, so I suppose you mean to
> make 8 channel Vorbis CH_LAYOUT_7POINT1_WIDE instead of
> CH_LAYOUT_7POINT1?
>
> I guess so... thats what AAC is.   This is what aacdectab.h defines for AAC
layouts:

static const int64_t aac_channel_layout[8] = {

    CH_LAYOUT_MONO,    CH_LAYOUT_STEREO,    CH_LAYOUT_SURROUND,
CH_LAYOUT_4POINT0,    CH_LAYOUT_5POINT0_BACK,
CH_LAYOUT_5POINT1_BACK,    CH_LAYOUT_7POINT1_WIDE,    0,

}



More information about the ffmpeg-devel mailing list