mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-29 02:51:24 +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;
|
||||
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue