103 return m_x[(m_xpos + pos + m_xlen) % m_xlen * m_specs.
channels + m_channel];
113 return m_y[(m_ypos + pos + m_ylen) % m_ylen * m_specs.
channels + m_channel];
#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition Audaspace.h:119
float sample_t
Sample type.(float samples)
Definition Audaspace.h:126
#define AUD_NAMESPACE_BEGIN
Opens the audaspace namespace aud.
Definition Audaspace.h:116
#define AUD_API
Used for exporting symbols in the shared library.
Definition Audaspace.h:93
double SampleRate
Sample rate type.
Definition Specification.h:115
This class is a base class for infinite impulse response filters.
Definition BaseIIRFilterReader.h:33
void setLengths(int in, int out)
Sets the length for the required input and output samples of the IIR filter.
virtual void read(int &length, bool &eos, sample_t *buffer)
Request to read the next length samples out of the source.
sample_t x(int pos)
Retrieves the last input samples.
Definition BaseIIRFilterReader.h:101
virtual sample_t filter()=0
Runs the filtering function.
sample_t y(int pos)
Retrieves the last output samples.
Definition BaseIIRFilterReader.h:111
virtual void sampleRateChanged(SampleRate rate)
Notifies the filter about a sample rate change.
BaseIIRFilterReader(std::shared_ptr< IReader > reader, int in, int out)
Creates a new base IIR filter reader.
This reader is a base class for all effect readers that take one other reader as input.
Definition EffectReader.h:36
Specification of a sound source.
Definition Specification.h:119
Channels channels
Channel count.
Definition Specification.h:124