search for: noisemedian

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

2001 Feb 01
1
minor psy.c modifications
...psy.c function: _vp_psy_init 1. '-' or '+' in this line? maxoc=toOC((n*.5f - .25f)*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_LEVE...