don't warn about clipping

too much spam
This commit is contained in:
tildearrow 2022-02-21 23:53:41 -05:00
parent 193c8af12d
commit 7540f12596

View file

@ -549,9 +549,9 @@ void DivEngine::renderSamples() {
if (diff>=tempstep) encoded|=1;
acc+=jediTable[decstep+encoded];
if (acc>0x7ff || acc<-0x800) {
/*if (acc>0x7ff || acc<-0x800) {
logW("clipping! %d\n",acc);
}
}*/
acc&=0xfff;
if (acc&0x800) acc|=~0xfff;
decstep+=adStepSeek[encoded&7]*16;