Consts
AV_CH_BACK_CENTER = 0x00000100
AV_CH_BACK_LEFT = 0x00000010
AV_CH_BACK_RIGHT = 0x00000020
AV_CH_BOTTOM_FRONT_CENTER = 274877906944'u
AV_CH_BOTTOM_FRONT_LEFT = 549755813888'u
AV_CH_BOTTOM_FRONT_RIGHT = 1099511627776'u
AV_CH_FRONT_CENTER = 0x00000004
AV_CH_FRONT_LEFT = 0x00000001
AV_CH_FRONT_LEFT_OF_CENTER = 0x00000040
AV_CH_FRONT_RIGHT = 0x00000002
AV_CH_FRONT_RIGHT_OF_CENTER = 0x00000080
AV_CH_LAYOUT_2_1 = 259
AV_CH_LAYOUT_2_2 = 1539
AV_CH_LAYOUT_2POINT1 = 11
AV_CH_LAYOUT_3POINT1 = 15
AV_CH_LAYOUT_4POINT0 = 263
AV_CH_LAYOUT_4POINT1 = 271
AV_CH_LAYOUT_5POINT0 = 1543
AV_CH_LAYOUT_5POINT1 = 1551
AV_CH_LAYOUT_6POINT0 = 1799
AV_CH_LAYOUT_6POINT0_FRONT = 1731
AV_CH_LAYOUT_6POINT1 = 1807
AV_CH_LAYOUT_6POINT1_FRONT = 1739
AV_CH_LAYOUT_7POINT0 = 1591
AV_CH_LAYOUT_7POINT0_FRONT = 1735
AV_CH_LAYOUT_7POINT1 = 1599
AV_CH_LAYOUT_7POINT1_WIDE = 1743
AV_CH_LAYOUT_22POINT2 = 2164663779327'u64
AV_CH_LAYOUT_HEXADECAGONAL = 6442710839'u64
AV_CH_LAYOUT_HEXAGONAL = 311
AV_CH_LAYOUT_MONO = 0x00000004
AV_CH_LAYOUT_NATIVE = 0x8000000000000000'i64
AV_CH_LAYOUT_OCTAGONAL = 1847
AV_CH_LAYOUT_QUAD = 51
AV_CH_LAYOUT_STEREO_DOWNMIX = 1610612736
AV_CH_LOW_FREQUENCY = 0x00000008
AV_CH_LOW_FREQUENCY_2 = 34359738368'u
AV_CH_SIDE_LEFT = 0x00000200
AV_CH_SIDE_RIGHT = 0x00000400
AV_CH_STEREO_LEFT = 0x20000000
AV_CH_STEREO_RIGHT = 0x40000000
AV_CH_SURROUND_DIRECT_LEFT = 8589934592'u
AV_CH_SURROUND_DIRECT_RIGHT = 17179869184'u
AV_CH_TOP_BACK_CENTER = 0x00010000
AV_CH_TOP_BACK_LEFT = 0x00008000
AV_CH_TOP_BACK_RIGHT = 0x00020000
AV_CH_TOP_CENTER = 0x00000800
AV_CH_TOP_FRONT_CENTER = 0x00002000
AV_CH_TOP_FRONT_LEFT = 0x00001000
AV_CH_TOP_FRONT_RIGHT = 0x00004000
AV_CH_TOP_SIDE_LEFT = 68719476736'u
AV_CH_TOP_SIDE_RIGHT = 137438953472'u
AV_CH_WIDE_LEFT = 2147483648'u
AV_CH_WIDE_RIGHT = 4294967296'u
Procs
proc av_bprint_channel_layout(bp: ptr AVBPrint; nb_channels: cint; channel_layout: uint64) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_channel_layout_extract_channel(channel_layout: uint64; index: cint): uint64 {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_get_channel_description(channel: uint64): cstring {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_get_channel_layout(name: cstring): uint64 {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_get_channel_layout_channel_index(channel_layout: uint64; channel: uint64): cint {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_get_channel_layout_nb_channels(channel_layout: uint64): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_get_channel_layout_string(buf: cstring; buf_size: cint; nb_channels: cint; channel_layout: uint64) {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_get_channel_name(channel: uint64): cstring {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_get_default_channel_layout(nb_channels: cint): int64 {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_get_extended_channel_layout(name: cstring; channel_layout: ptr uint64; nb_channels: ptr cint): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_get_standard_channel_layout(index: cuint; layout: ptr uint64; name: cstringArray): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}