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

Benjamin Larsson banan
Sat Nov 1 19:13:03 CET 2008


> +/* Audio channel masks */
> +#define CHANNEL_FRONT_LEFT             0x00000001
> +#define CHANNEL_FRONT_RIGHT            0x00000002
> +#define CHANNEL_FRONT_CENTER           0x00000004
> +#define CHANNEL_LOW_FREQUENCY          0x00000008
> +#define CHANNEL_BACK_LEFT              0x00000010
> +#define CHANNEL_BACK_RIGHT             0x00000020
> +#define CHANNEL_FRONT_LEFT_OF_CENTER   0x00000040
> +#define CHANNEL_FRONT_RIGHT_OF_CENTER  0x00000080
> +#define CHANNEL_BACK_CENTER            0x00000100
> +#define CHANNEL_SIDE_LEFT              0x00000200
> +#define CHANNEL_SIDE_RIGHT             0x00000400
> +#define CHANNEL_TOP_CENTER             0x00000800
> +#define CHANNEL_TOP_FRONT_LEFT         0x00001000
> +#define CHANNEL_TOP_FRONT_CENTER       0x00002000
> +#define CHANNEL_TOP_FRONT_RIGHT        0x00004000
> +#define CHANNEL_TOP_BACK_LEFT          0x00008000
> +#define CHANNEL_TOP_BACK_CENTER        0x00010000
> +#define CHANNEL_TOP_BACK_RIGHT         0x00020000
> +#define CHANNEL_STEREO_LEFT            0x20000000  ///< Stereo downmix.
> +#define CHANNEL_STEREO_RIGHT           0x40000000  ///< See CHANNEL_STEREO_LEFT.
> +
> +/* Audio channel convenience macros */
> +#define CHANNEL_LAYOUT_MONO              (CHANNEL_FRONT_CENTER)

Should this be
#define CHANNEL_LAYOUT_MONO              (CHANNEL_FRONT_LEFT)
instead ?

MvH
Benjamin Larsson




More information about the ffmpeg-cvslog mailing list