DelayLine

Template delay line buffer for reverb and echo effects.

template <typename T> class DelayLine
Declared in src/libs/libaudio/audio/effects/reverb/DelayLine.hpp
Group audio

Detailed description

DelayLine provides a circular buffer implementation optimized for audio delay effects. It uses power-of-2 buffer sizes to enable efficient bit-masking instead of modulus operations for index wrapping.

The class supports:

  • Basic delay read/write via delayLineIn() and delayLineOut()
  • Attenuated output via attenuatedDelayLineOut()
  • All-pass filter processing via allpassInOut()

This is a header-only template class; this file exists for QDoc processing.

See also audio::effects::Reverb.

In this section