ref: 29851f9c445d41cd82e422cb4b8c13fd2a13aea5
dir: /h/delay.h/
typedef struct {
SPFLOAT time;
SPFLOAT feedback;
SPFLOAT last;
SPFLOAT *buf;
uint32_t bufsize;
uint32_t bufpos;
} sp_delay;
int sp_delay_create(sp_delay **p);
int sp_delay_destroy(sp_delay **p);
int sp_delay_init(sp_data *sp, sp_delay *p, SPFLOAT time);
int sp_delay_compute(sp_data *sp, sp_delay *p, SPFLOAT *in, SPFLOAT *out);