shithub: neindaw

ref: 66fa8ef996ffb3ded8ad1f9b6eb756727e0aa705
dir: /dsp/dspf.h/

View raw version
typedef struct {
	DSP *(*new)(void);
	DSP *(*clone)(DSP *dsp);
	void *(*state)(DSP *dsp, int *sz);
	void (*init)(DSP *dsp, int sample_rate);
	void (*delete)(DSP *dsp);
	void (*metadata)(MetaGlue *glue);
	int (*num_in)(DSP *dsp);
	int (*num_out)(DSP *dsp);
	void (*clear)(DSP *dsp);
	void (*reset_ui)(DSP *dsp);
	void (*build_ui)(DSP *dsp, UIGlue *glue);
	void (*compute)(DSP *dsp, int count, float **in, float **out);
}DSPf;

void *class_init(int rate);