AVCodecContext.channel_layout

Audio channel layout. - encoding: set by user. - decoding: set by user, may be overwritten by libavcodec.

struct AVCodecContext
uint64_t channel_layout;

Meta