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

Andreas Öman andreas
Sat Nov 1 11:53:59 CET 2008


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)

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)





More information about the ffmpeg-cvslog mailing list