BaseSink.async

bool async() @property

Get async property.

Returns

If set to true, the basesink will perform asynchronous state changes.

When set to false, the sink will not signal the parent when it prerolls. Use this option when dealing with sparse streams or when synchronisation is not required.

void async(bool propval) @property

Set async property.

Parameters

propvalIf set to true, the basesink will perform asynchronous state changes. When set to false, the sink will not signal the parent when it prerolls. Use this option when dealing with sparse streams or when synchronisation is not required.