class

DelayEffect

Delay effect. miniaudio's ma_delay_node implements a feedback delay line (echo / slap-back) — delay length is fixed at init time, decay + dry/wet can be changed live.

Module
Audio
Header
#include "Audio/AudioEffect.h"
Namespace
Mowo

Constructors

SignatureNameDescription
DelayEffect()DelayEffect
~DelayEffect() override~DelayEffect

Public functions

ReturnsNameDescription
boolInit
ma_node*GetNode
floatGetDelaySeconds
floatGetDecay
floatGetDryWet
voidSetDecayDelay length is fixed at init — only decay / dryWet are runtime-settable.
voidSetDryWet

Function details

DelayEffect

C++
DelayEffect()

~DelayEffect

C++
~DelayEffect() override

Init

C++
bool Init(ma_node_graph* graph, uint32_t channels, uint32_t sampleRate, float delaySeconds, float decay = 0.5f, float dryWet = 0.5f)

GetNode

C++
ma_node* GetNode() override

GetDelaySeconds

C++
float GetDelaySeconds() const

GetDecay

C++
float GetDecay() const

GetDryWet

C++
float GetDryWet() const

SetDecay

C++
void SetDecay(float decay)

Delay length is fixed at init — only decay / dryWet are runtime-settable.

SetDryWet

C++
void SetDryWet(float dryWet)
Generated from Audio/AudioEffect.h via audio.json · Oct 26, 2026Version 1.0.0