diff --git a/audio/format.h b/audio/format.h index 605875e03f..c4e269f2f5 100644 --- a/audio/format.h +++ b/audio/format.h @@ -64,24 +64,24 @@ enum af_format { AF_FORMAT_UNKNOWN = 0, - AF_FORMAT_U8 = (AF_FORMAT_I|AF_FORMAT_US|AF_FORMAT_8BIT), - AF_FORMAT_S8 = (AF_FORMAT_I|AF_FORMAT_SI|AF_FORMAT_8BIT), - AF_FORMAT_U16 = (AF_FORMAT_I|AF_FORMAT_US|AF_FORMAT_16BIT), - AF_FORMAT_S16 = (AF_FORMAT_I|AF_FORMAT_SI|AF_FORMAT_16BIT), - AF_FORMAT_U24 = (AF_FORMAT_I|AF_FORMAT_US|AF_FORMAT_24BIT), - AF_FORMAT_S24 = (AF_FORMAT_I|AF_FORMAT_SI|AF_FORMAT_24BIT), - AF_FORMAT_U32 = (AF_FORMAT_I|AF_FORMAT_US|AF_FORMAT_32BIT), - AF_FORMAT_S32 = (AF_FORMAT_I|AF_FORMAT_SI|AF_FORMAT_32BIT), + AF_FORMAT_U8 = AF_FORMAT_I|AF_FORMAT_US|AF_FORMAT_8BIT, + AF_FORMAT_S8 = AF_FORMAT_I|AF_FORMAT_SI|AF_FORMAT_8BIT, + AF_FORMAT_U16 = AF_FORMAT_I|AF_FORMAT_US|AF_FORMAT_16BIT, + AF_FORMAT_S16 = AF_FORMAT_I|AF_FORMAT_SI|AF_FORMAT_16BIT, + AF_FORMAT_U24 = AF_FORMAT_I|AF_FORMAT_US|AF_FORMAT_24BIT, + AF_FORMAT_S24 = AF_FORMAT_I|AF_FORMAT_SI|AF_FORMAT_24BIT, + AF_FORMAT_U32 = AF_FORMAT_I|AF_FORMAT_US|AF_FORMAT_32BIT, + AF_FORMAT_S32 = AF_FORMAT_I|AF_FORMAT_SI|AF_FORMAT_32BIT, - AF_FORMAT_FLOAT = (AF_FORMAT_F|AF_FORMAT_32BIT), - AF_FORMAT_DOUBLE = (AF_FORMAT_F|AF_FORMAT_64BIT), + AF_FORMAT_FLOAT = AF_FORMAT_F|AF_FORMAT_32BIT, + AF_FORMAT_DOUBLE = AF_FORMAT_F|AF_FORMAT_64BIT, // Planar variants - AF_FORMAT_U8P = (AF_INTP|AF_FORMAT_US|AF_FORMAT_8BIT), - AF_FORMAT_S16P = (AF_INTP|AF_FORMAT_SI|AF_FORMAT_16BIT), - AF_FORMAT_S32P = (AF_INTP|AF_FORMAT_SI|AF_FORMAT_32BIT), - AF_FORMAT_FLOATP = (AF_FLTP|AF_FORMAT_32BIT), - AF_FORMAT_DOUBLEP = (AF_FLTP|AF_FORMAT_64BIT), + AF_FORMAT_U8P = AF_INTP|AF_FORMAT_US|AF_FORMAT_8BIT, + AF_FORMAT_S16P = AF_INTP|AF_FORMAT_SI|AF_FORMAT_16BIT, + AF_FORMAT_S32P = AF_INTP|AF_FORMAT_SI|AF_FORMAT_32BIT, + AF_FORMAT_FLOATP = AF_FLTP|AF_FORMAT_32BIT, + AF_FORMAT_DOUBLEP = AF_FLTP|AF_FORMAT_64BIT, // All of these use IEC61937 framing, and otherwise pretend to be like PCM. AF_FORMAT_S_AAC = AF_FORMAT_S_(0),