33 using namespace Nsound;
39 feedback_gain_(feedback_gain),
53 for(
uint32 channel = 0; channel < n_channels; ++channel)
55 y[channel] =
filter(x[channel]);
70 for(
uint32 n = 0; n < n_samples; ++n)
FilterDC(const float64 &feedback_gain)
float64 getSampleRate() const
Returns the sample rate of the stream.
uint32 getLength() const
Returns the number of samples in the Buffer.
uint32 getNChannels(void) const
Returns the number of audio channels in the stream.
A Buffer for storing audio samples.
AudioStream filter(const AudioStream &x)