pub fn audio_channel_layout_from_ffmpeg(
value: &ChannelLayout,
) -> AudioChannelLayoutExpand description
Builds a fully-populated AudioChannelLayout from an FFmpeg
ChannelLayout.
- Native / Ambisonic layouts populate
native_maskfromChannelLayout::bits(clearing it toNoneif zero). - Custom layouts populate
custom_channelsfrom FFmpeg’s per-channel list (AVChannelLayout.u.map), with each label drawn fromAVChannelCustom.name. descriptioncarries the result ofav_channel_layout_describe(FFmpeg’s human-readable rendering — e.g."5.1(side)").