from enum import Flag


class ChannelMask(Flag):
    unknown = 0x00000000
    SPEAKER_FRONT_LEFT = 0x00000001
    SPEAKER_FRONT_RIGHT = 0x00000002
    SPEAKER_FRONT_CENTER = 0x00000004
    SPEAKER_LOW_FREQUENCY = 0x00000008
    SPEAKER_BACK_LEFT = 0x00000010
    SPEAKER_BACK_RIGHT = 0x00000020
    SPEAKER_FRONT_LEFT_OF_CENTER = 0x00000040
    SPEAKER_FRONT_RIGHT_OF_CENTER = 0x00000080
    SPEAKER_BACK_CENTER = 0x00000100
    SPEAKER_SIDE_LEFT = 0x00000200
    SPEAKER_SIDE_RIGHT = 0x00000400
    SPEAKER_TOP_CENTER = 0x00000800
    SPEAKER_TOP_FRONT_LEFT = 0x00001000
    SPEAKER_TOP_FRONT_CENTER = 0x00002000
    SPEAKER_TOP_FRONT_RIGHT = 0x00004000
    SPEAKER_TOP_BACK_LEFT = 0x00008000
    SPEAKER_TOP_BACK_CENTER = 0x00010000
    SPEAKER_TOP_BACK_RIGHT = 0x00020000
    SPEAKER_RESERVED = 0x80000000
