Return a channel layout id that matches name, or 0 if no match is found.
name can be one or several of the following notations,
separated by '+' or '|':
- the name of an usual channel layout (mono, stereo, 4.0, quad, 5.0,
5.0(side), 5.1, 5.1(side), 7.1, 7.1(wide), downmix);
- the name of a single channel (FL, FR, FC, LFE, BL, BR, FLC, FRC, BC,
SL, SR, TC, TFL, TFC, TFR, TBL, TBC, TBR, DL, DR);
- a number of channels, in decimal, followed by 'c', yielding
the default channel layout for that number of channels (@see
av_get_default_channel_layout);
- a channel layout mask, in hexadecimal starting with "0x" (see the
AV_CH_* macros).
Return a channel layout id that matches name, or 0 if no match is found.
name can be one or several of the following notations, separated by '+' or '|': - the name of an usual channel layout (mono, stereo, 4.0, quad, 5.0, 5.0(side), 5.1, 5.1(side), 7.1, 7.1(wide), downmix); - the name of a single channel (FL, FR, FC, LFE, BL, BR, FLC, FRC, BC, SL, SR, TC, TFL, TFC, TFR, TBL, TBC, TBR, DL, DR); - a number of channels, in decimal, followed by 'c', yielding the default channel layout for that number of channels (@see av_get_default_channel_layout); - a channel layout mask, in hexadecimal starting with "0x" (see the AV_CH_* macros).