BEAST/BSE - Better Audio System and Sound Engine
0.9.0
|
Factor 2 downsampling of a data stream. More...
#include <bseresamplerimpl.hh>
Inherits Resampler2.
Public Member Functions | |
Downsampler2 (float *init_taps) | |
Constructs a Downsampler2 class using a given set of filter coefficients. More... | |
void | process_block (const float *input, guint n_input_samples, float *output) |
The function process_block() takes a block of input samples and produces a block with half the length, containing downsampled output samples. | |
guint | order () const |
Returns the filter order. | |
double | delay () const |
Factor 2 downsampling of a data stream.
Template arguments: ORDER number of resampling filter coefficients USE_SSE whether to use SSE (vectorized) instructions or not
|
inline |
Constructs a Downsampler2 class using a given set of filter coefficients.
init_taps: coefficients for the downsampling FIR halfband filter