This structure is used to store the context of a resampling process.
#include <dsp.h>
Data Fields | |
int | buffer_size |
The size in sample of this buffer. More... | |
dsp_resampling_context_t * | context |
Context of the process. More... | |
int | current_buffer_size |
The output buffer size. More... | |
int | decimation_factor |
The decimation factor used for the resampling process. More... | |
int | filter_order |
The actual order of the filter. More... | |
void * | fir_coefs |
An array to store the FIR coefficients of the filter. More... | |
int | fs |
The sample rate of the input buffer. More... | |
int | interpolation_factor |
The interpolation factor used for the resampling process. More... | |
void * | last_samples |
A buffer to store the current buffer + some previous samples. More... | |
bool | link_required |
If a clean link between to output buffer is required. More... | |
int | nb_channels |
The number of channels. More... | |
int dsp_resampling_t::buffer_size |
The size in sample of this buffer.
dsp_resampling_context_t* dsp_resampling_t::context |
Context of the process.
int dsp_resampling_t::current_buffer_size |
The output buffer size.
int dsp_resampling_t::decimation_factor |
The decimation factor used for the resampling process.
int dsp_resampling_t::filter_order |
The actual order of the filter.
A polyphase filter is used, therefore, this order is equal to desired the order of the filter * the interpolation factor.
void* dsp_resampling_t::fir_coefs |
An array to store the FIR coefficients of the filter.
int dsp_resampling_t::fs |
The sample rate of the input buffer.
int dsp_resampling_t::interpolation_factor |
The interpolation factor used for the resampling process.
void* dsp_resampling_t::last_samples |
A buffer to store the current buffer + some previous samples.
bool dsp_resampling_t::link_required |
If a clean link between to output buffer is required.
int dsp_resampling_t::nb_channels |
The number of channels.