pub unsafe extern "C" fn pw_filter_flush(
filter: *mut pw_filter,
drain: bool,
) -> c_int
Expand description
Flush a filter. When \a drain is true, the drained callback will be called when all data is played or recorded. The filter can be resumed after the drain by setting it active again with \ref pw_filter_set_active(). A flush without a drain is mostly useful afer a state change to PAUSED, to flush any remaining data from the queues. RT safe.