Skip to main content
Version: 2.x

Insert APM Effect

Inserts the Audio Processing Module (APM) at the given index. APM provides echo cancellation, noise suppression, high-pass filtering, transient suppression and automatic gain control; configure it with Set APM Config.

note

Index is shifting subsequent effects. An index of 0 inserts at the beginning of the pipeline.

The playback format describes the samples fed into the echo-cancellation reverse stream. In this plugin that source is the UE main submix, so the defaults (0 = current audio mixer sample rate, stereo) are the right choice unless the reverse stream is fed manually with a different format.

Inputs​

NameTypeDescription
TargetOdin PipelineThe pipeline.
IndexIntegerPosition in the pipeline; 0 inserts at the beginning.
Sample RateIntegerThe playback sample rate for the APM effect. 0 uses the current audio mixer sample rate. Default: 0.
StereoBooleanA boolean indicating whether the APM effect should use stereo (true) or mono (false) mode. Default: true.

Outputs​

NameTypeDescription
Effect IdIntegerID of the inserted effect, -1 on failure.