pub fn channel_layout_description_from_ffmpeg(
value: &ChannelLayout,
) -> ChannelLayoutDescriptionExpand description
Builds a fully-populated ChannelLayoutDescription from an FFmpeg
AvChannelLayout.
- Native / Ambisonic layouts populate
native_maskfromAvChannelLayout::bits(clearing it toNoneif zero). - Custom layouts populate
custom_channelsfrom FFmpeg’s per-channel list (AVChannelLayout.u.map), with each label drawn fromAVChannelCustom.name. textcarries the result ofav_channel_layout_describe(FFmpeg’s human-readable rendering — e.g."5.1(side)").known_kindrunschannel_layout_from_ffmpeg’s two rungs against that same single rendering: constant table first, then the describe rung.