pub unsafe extern "C" fn pw_filter_connect(
    filter: *mut pw_filter,
    flags: pw_filter_flags,
    params: *mut *const spa_pod,
    n_params: u32
) -> c_int
Expand description

Connect a filter for processing. \return 0 on success < 0 on error.

You should connect to the process event and use pw_filter_dequeue_buffer() to get the latest metadata and data.