shithub: soundpipe

ref: 0f9bc249e79a9181613b46effd008f15d9bc7904
dir: /h/expon.h/

View raw version
typedef struct {
    SPFLOAT a, dur, b;
    SPFLOAT val, incr;
    uint32_t sdur, stime;
    int init;
} sp_expon;

int sp_expon_create(sp_expon **p);
int sp_expon_destroy(sp_expon **p);
int sp_expon_init(sp_data *sp, sp_expon *p);
int sp_expon_compute(sp_data *sp, sp_expon *p, SPFLOAT *in, SPFLOAT *out);