BaseSink.setSync

Configures sink to synchronize on the clock or not. When sync is FALSE, incoming samples will be played as fast as possible. If sync is TRUE, the timestamps of the incoming buffers will be used to schedule the exact render time of its contents.

class BaseSink
void
setSync
(
bool sync
)

Parameters

sync bool

the new sync value.