pub unsafe extern "C" fn pw_stream_set_rate(
stream: *mut pw_stream,
rate: f64,
) -> c_int
Expand description
Adjust the rate of the stream. When the stream is using an adaptive resampler, adjust the resampler rate. When there is no resampler, -ENOTSUP is returned. Activating the adaptive resampler will add a small amount of delay to the samples, you can deactivate it again by setting a value <= 0.0. RT safe. Since 1.4.0