search for: tonecurv

Displaying 1 result from an estimated 1 matches for "tonecurv".

Did you mean: tonecurves
2001 Feb 01
1
minor psy.c modifications
...*rate/n)*(1<<(p->shiftoc+1))+.5f; maxoc=toOC((n*.5f + .25f)*rate/n)*(1<<(p->shiftoc+1))+.5f; 2. I know: sizeof(float *) and sizeof(float) are 4 bytes long, but... old lines: p->noisemedian=_ogg_malloc(n*sizeof(float *)); p->noiseoffset=_ogg_malloc(n*sizeof(float *)); p->tonecurves[i]=_ogg_malloc(P_LEVELS*sizeof(float *)); new (corrected) lines: p->noisemedian=_ogg_malloc(n*sizeof(float)); p->noiseoffset=_ogg_malloc(n*sizeof(float)); p->tonecurves[i]=_ogg_malloc(P_LEVELS*sizeof(float)); 3. modified bark_noise_median(): 3/a: floating point based (new) style: #def...