Function pw_stream_is_lazy

Source
pub unsafe extern "C" fn pw_stream_is_lazy(
    stream: *mut pw_stream,
) -> bool
Expand description

Check if the graph is using lazy scheduling. If the stream is driving according to \ref pw_stream_is_driving(), then it should consider taking into account the RequestProcess commands when driving the graph.

If the stream is not driving, it should send out RequestProcess events with \ref pw_stream_emit_event() or indirectly with \ref pw_stream_trigger_process() to suggest a new graph cycle to the driver.

It is not a requirement that all RequestProcess events/commands need to start a graph cycle. Since 1.4.0