shithub: neindaw

ref: 7ef0433142bcef6a0a55c9b5fff976a0e2a5cd1a
dir: /dsp/dspf.h/

View raw version
typedef struct {
	DSP *(*new)(void);
	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, FAUSTFLOAT **in, FAUSTFLOAT **out);
}DSPf;

void *class_init(int rate);