93 void setLengths(
int in,
int out);
101 inline sample_t
x(
int pos)
103 return m_x[(m_xpos + pos + m_xlen) % m_xlen * m_specs.
channels + m_channel];
111 inline sample_t
y(
int pos)
113 return m_y[(m_ypos + pos + m_ylen) % m_ylen * m_specs.
channels + m_channel];
118 virtual void read(
int& length,
bool& eos, sample_t* buffer);
124 virtual sample_t filter()=0;
130 virtual void sampleRateChanged(
SampleRate rate);
sample_t y(int pos)
Retrieves the last output samples.
Definition: BaseIIRFilterReader.h:111
#define AUD_API
Used for exporting symbols in the shared library.
Definition: Audaspace.h:93
Specification of a sound source.
Definition: Specification.h:109
double SampleRate
Sample rate type.
Definition: Specification.h:106
sample_t x(int pos)
Retrieves the last input samples.
Definition: BaseIIRFilterReader.h:101
This reader is a base class for all effect readers that take one other reader as input.
Definition: EffectReader.h:35
This class is a base class for infinite impulse response filters.
Definition: BaseIIRFilterReader.h:32
Channels channels
Channel count.
Definition: Specification.h:115
virtual void read(int &length, bool &eos, sample_t *buffer)
Request to read the next length samples out of the source.