[FFmpeg-cvslog] r15762 - in trunk/libavcodec: audioconvert.c audioconvert.h avcodec.h utils.c

Benjamin Larsson banan
Sat Nov 1 19:36:51 CET 2008


Andreas ?man wrote:
> pross wrote:
>> Author: pross
>> Date: Sat Nov  1 06:03:42 2008
>> New Revision: 15762
>>
>> Log:
>> Add audio channel layout API to libavcodec.
>>
>> Modified: trunk/libavcodec/avcodec.h
>> ==============================================================================
>> --- trunk/libavcodec/avcodec.h	(original)
>> +++ trunk/libavcodec/avcodec.h	Sat Nov  1 06:03:42 2008
>> @@ -30,7 +30,7 @@
>>  
>> [...]
>>  
>> +/* Audio channel convenience macros */
>> +#define CHANNEL_LAYOUT_MONO              (CHANNEL_FRONT_CENTER)
>> +#define CHANNEL_LAYOUT_STEREO            (CHANNEL_FRONT_LEFT|CHANNEL_FRONT_RIGHT)
>> +#define CHANNEL_LAYOUT_SURROUND          (CHANNEL_LAYOUT_STEREO|CHANNEL_FRONT_CENTER)

I'd like to call this configuration CHANNEL_LAYOUT_3POINT0. These macros
are just for convenience.

> 
> Shouldn't surround include some kind of rear channel(s) too?
> 
> Sorry for not noticing this earlier. (I've started to add this
> to the AAC decoder)


MvH
Benjamin Larsson




More information about the ffmpeg-cvslog mailing list