shithub: soundpipe

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

View raw version
typedef struct {
    SPFLOAT min;
    SPFLOAT max;
} sp_random;

int sp_random_create(sp_random **p);
int sp_random_destroy(sp_random **p);
int sp_random_init(sp_data *sp, sp_random *p);
int sp_random_compute(sp_data *sp, sp_random *p, SPFLOAT *in, SPFLOAT *out);