Class DelayBuffer

Class Documentation

class ear::dsp::DelayBuffer

A multi-channel delay buffer.

Public Functions

DelayBuffer(size_t nchannels, size_t nsamples)
Parameters
  • nchannels – number of input and output channels

  • nsamples – length of the delay

void process(size_t nsamples, const float *const *input, float *const *output)

Process an arbitrary number of samples.

input and output have nchannels channels and nsamples samples.

int get_delay() const

Get the delay in samples.