Displaying 1 result from an estimated 1 matches for "shiftoc".
Did you mean:
shiftop
2001 Feb 01
1
minor psy.c modifications
Hello!
Some minor bugfixes...
source: 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_LEVEL...