Function swr_inject_silence
pub unsafe extern "C" fn swr_inject_silence(
s: *mut SwrContext,
count: i32,
) -> i32
Expand description
Injects the specified number of silence samples.
This function, along with swr_drop_output(), is called by swr_next_pts() if needed for “hard” compensation.
@param s allocated Swr context @param count number of samples to be dropped
@return >= 0 on success, or a negative AVERROR code on failure