Skip to main content
Version: 2.x

Set Echo Cancellation Processing Delay

The delay parameter is used to align the reverse stream processing with the forward (capture) stream.

note

The delay can be expressed as:

delay = (t_render - t_analyze) + (t_process - t_capture)

where:

  • t_render is the time the first sample of the same frame is rendered by the audio hardware.

  • t_analyze is the time the frame is processed in the reverse stream.

  • t_capture is the time the first sample of a frame is captured by the audio hardware.

  • t_process is the time the frame is processed in the forward stream.

Inputs​

NameTypeDescription
TargetOdin EncoderThe Odin Encoder to call this function on.
Delay in MsIntegerDelay in Milliseconds. Default: 15.