Bin.addOnDoLatency

Will be emitted when the bin needs to perform latency calculations. This signal is only emitted for toplevel bins or when async-handling is enabled.

Only one signal handler is invoked. If no signals are connected, the default handler is invoked, which will query and distribute the lowest possible latency to all sinks.

Connect to this signal if the default latency calculations are not sufficient, like when you need different latencies for different sinks in the same pipeline.

class Bin
gulong
addOnDoLatency
(
bool delegate
()
dlg
,
ConnectFlags connectFlags = cast(ConnectFlags)0
)