shithub: soundpipe

ref: 95e6f8be0c1c450fc3800b6dd57e7d63212ea42c
dir: /h/rline.h/

View raw version
#ifndef SK_RLINE_H
typedef struct sk_rline sk_rline;
#endif

typedef struct {
    SPFLOAT min, max, cps;
    sk_rline *rline;
} sp_rline;

int sp_rline_create(sp_rline **p);
int sp_rline_destroy(sp_rline **p);
int sp_rline_init(sp_data *sp, sp_rline *p);
int sp_rline_compute(sp_data *sp, sp_rline *p,
                         SPFLOAT *in, SPFLOAT *out);