Robert Swain wrote: > Is there any benefit to doing all the bit shifting of the flags or can > we just do the usual 0x1, 0x2, 0x4, 0x8, 0x10, 0x20... that we use for > other bit mask flags? Yes, The shift-values (or index) is used in: +static const char* channel_names[]={ + [CHANNEL_FRONT_LEFT] = "front-left",