set_async_enabled


Description:

public void set_async_enabled (bool enabled)

Configures this to perform all state changes asynchronously.

When async is disabled, the sink will immediately go to PAUSED instead of waiting for a preroll buffer. This feature is useful if the sink does not synchronize against the clock or when it is dealing with sparse streams.

Parameters:

this

the sink

enabled

the new async value.




2022 vala-language.org