mirror of
https://github.com/tildearrow/furnace.git
synced 2025-01-01 04:21:44 +00:00
don't warn about clipping
too much spam
This commit is contained in:
parent
193c8af12d
commit
7540f12596
1 changed files with 2 additions and 2 deletions
|
@ -549,9 +549,9 @@ void DivEngine::renderSamples() {
|
||||||
if (diff>=tempstep) encoded|=1;
|
if (diff>=tempstep) encoded|=1;
|
||||||
|
|
||||||
acc+=jediTable[decstep+encoded];
|
acc+=jediTable[decstep+encoded];
|
||||||
if (acc>0x7ff || acc<-0x800) {
|
/*if (acc>0x7ff || acc<-0x800) {
|
||||||
logW("clipping! %d\n",acc);
|
logW("clipping! %d\n",acc);
|
||||||
}
|
}*/
|
||||||
acc&=0xfff;
|
acc&=0xfff;
|
||||||
if (acc&0x800) acc|=~0xfff;
|
if (acc&0x800) acc|=~0xfff;
|
||||||
decstep+=adStepSeek[encoded&7]*16;
|
decstep+=adStepSeek[encoded&7]*16;
|
||||||
|
|
Loading…
Reference in a new issue