shithub: soundpipe

ref: 79b51e588d41bc7df8c27f1f1aee57832a9d45ad
dir: /h/dcblocker.h/

View raw version
#ifndef SK_DCBLOCKER_H
typedef struct sk_dcblocker sk_dcblocker;
#endif

typedef struct {
    sk_dcblocker *dcblocker;
} sp_dcblocker;

int sp_dcblocker_create(sp_dcblocker **p);
int sp_dcblocker_destroy(sp_dcblocker **p);
int sp_dcblocker_init(sp_data *sp, sp_dcblocker *p);
int sp_dcblocker_compute(sp_data *sp, sp_dcblocker *p,
                         SPFLOAT *in, SPFLOAT *out);