shithub: soundpipe

ref: 49ff67154a0150cade077dcd040d68bc6a200b17
dir: /h/modalres.h/

View raw version
#ifndef SK_MODALRES_H
typedef struct sk_modalres sk_modalres;
#endif

typedef struct {
    SPFLOAT freq, q;
    sk_modalres *modalres;
} sp_modalres;

int sp_modalres_create(sp_modalres **p);
int sp_modalres_destroy(sp_modalres **p);
int sp_modalres_init(sp_data *sp, sp_modalres *p);
int sp_modalres_compute(sp_data *sp, sp_modalres *p,
                      SPFLOAT *in, SPFLOAT *out);