[FFmpeg-devel] [RFC] Channel layouts
Måns Rullgård
mans
Sun Sep 7 15:19:32 CEST 2008
Diego Biurrun <diego at biurrun.de> writes:
> On Sun, Sep 07, 2008 at 08:58:28PM +1000, Peter Ross wrote:
>>
>> Patch updated.
>>
>> --- libavcodec/audioconvert.c (revision 15246)
>> +++ libavcodec/audioconvert.c (working copy)
>> @@ -71,6 +71,99 @@
>>
>> +static const char* channel_names[]={
>> + "front-centre",
>> + "front-left-of-centre",
>> + "front-right-of-centre",
>> + "back-centre",
>> + "top-centre",
>> + "top-front-centre",
>> + "top-back-centre",
>
> Please use American English spelling.
>
>> --- libavcodec/avcodec.h (revision 15246)
>> +++ libavcodec/avcodec.h (working copy)
>> @@ -355,6 +355,51 @@
>>
>> +/* Audio channel masks */
>> +#define CHANNEL_FRONT_CENTER 0x00000004
>> +#define CHANNEL_FRONT_LEFT_OF_CENTER 0x00000040
>> +#define CHANNEL_FRONT_RIGHT_OF_CENTER 0x00000080
>> +#define CHANNEL_BACK_CENTER 0x00000100
>> +#define CHANNEL_TOP_CENTER 0x00000800
>> +#define CHANNEL_TOP_FRONT_CENTER 0x00002000
>> +#define CHANNEL_TOP_BACK_CENTER 0x00010000
>
> You already use American English spelling here...
There is no such thing as American English. There is American, which
is quite distinct from English. If you don't believe me, try speaking
English to an American, and observe the confused look on his face.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list