Function ffmpeg_sys_next::swr_inject_silence [−][src]
pub unsafe extern "C" fn swr_inject_silence(
s: *mut SwrContext,
count: c_int
) -> c_int
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