Skip to main content

channel_order_from_raw

Function channel_order_from_raw 

Source
pub fn channel_order_from_raw(raw: i32) -> ChannelOrder
Expand description

Variant of channel_order_from_ffmpeg that takes the raw integer directly. Use this when the caller has just read AVChannelLayout.order from FFmpeg memory and doesn’t want to risk constructing an invalid bindgen enum value first.