7#ifndef _dsps_resampl_H_
8#define _dsps_resampl_H_
35 int32_t (*
dsps_firmr)(
void *fir,
void *input,
void *output, int32_t length);
esp_err_t dsps_resampler_ph_init(dsps_resample_ph_t *resampler, float samplerate_factor)
Initialize the poly-phase resampler.
void dsps_resampler_mr_free(dsps_resample_mr_t *resampler)
Free the multi-rate resampler.
esp_err_t dsps_resampler_mr_init(dsps_resample_mr_t *resampler, void *coeffs, int16_t length, int16_t interp, float samplerate_factor, int32_t fixed_point, int16_t shift)
Initialize the multi-rate resampler.
int32_t dsps_resampler_mr_exec(dsps_resample_mr_t *resampler, void *input, void *output, int32_t length, int32_t length_correction)
Execute the multi-rate resampler.
struct dsps_resample_ph_s dsps_resample_ph_t
Data struct of f32 poly-phase resampler.
struct dsps_resample_mr_s dsps_resample_mr_t
Data struct of f32 multi-rate resampler.
int32_t dsps_resampler_ph_exec(dsps_resample_ph_t *resampler, float *input, float *output, int32_t length)
Execute the poly-phase resampler.
Data struct of f32 multi-rate resampler.
int32_t(* dsps_firmr)(void *fir, void *input, void *output, int32_t length)
Data struct of f32 poly-phase resampler.