fix samples being cut at times

This commit is contained in:
tildearrow 2022-03-05 01:26:59 -05:00
parent 16dfc785d3
commit e07caddc92

View file

@ -1112,6 +1112,7 @@ bool DivEngine::loadFur(unsigned char* file, size_t len) {
logW("%d: sample depth is wrong! (%d)\n",i,sample->depth); logW("%d: sample depth is wrong! (%d)\n",i,sample->depth);
sample->depth=16; sample->depth=16;
} }
sample->samples=(double)sample->samples/samplePitches[pitch];
sample->init(sample->samples); sample->init(sample->samples);
unsigned int k=0; unsigned int k=0;