ref: 7e4b22f0fb9ceac0b49f9720ae37ff988a31e7bb
dir: /h/bitcrush.h/
typedef struct {
SPFLOAT bitdepth;
SPFLOAT srate;
SPFLOAT incr;
SPFLOAT index;
int32_t sample_index;
SPFLOAT value;
} sp_bitcrush;
int sp_bitcrush_create(sp_bitcrush **p);
int sp_bitcrush_destroy(sp_bitcrush **p);
int sp_bitcrush_init(sp_data *sp, sp_bitcrush *p);
int sp_bitcrush_compute(sp_data *sp, sp_bitcrush *p, SPFLOAT *in, SPFLOAT *out);