Function swr_set_channel_mapping
pub unsafe extern "C" fn swr_set_channel_mapping(
s: *mut SwrContext,
channel_map: *const i32,
) -> i32
Expand description
Set a customized input channel mapping.
@param[in,out] s allocated Swr context, not yet initialized @param[in] channel_map customized input channel mapping (array of channel indexes, -1 for a muted channel) @return >= 0 on success, or AVERROR error code in case of failure.