shithub: soundpipe

ref: 29851f9c445d41cd82e422cb4b8c13fd2a13aea5
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);