shithub: soundpipe

ref: 50243ce8b8f884879d506c0900da0591ce4b4603
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);