shithub: dumb

ref: 94f0d24cd226184f2e8ea0c0caf45d8e4fc58156
dir: /include/internal/fir_resampler.h/

View raw version
#ifndef _FIR_RESAMPLER_H_
#define _FIR_RESAMPLER_H_

void fir_init();

void * fir_resampler_create();
void fir_resampler_delete(void *);
void * fir_resampler_dup(void *);

int fir_resampler_get_free_count(void *);
void fir_resampler_write_sample(void *, short sample);
void fir_resampler_set_rate( void *, double new_factor );
int fir_resampler_ready(void *);
void fir_resampler_clear(void *);
int fir_resampler_get_sample(void *);
void fir_resampler_remove_sample(void *);

#endif