mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-15 17:25:06 +00:00
fix samples being cut at times
This commit is contained in:
parent
16dfc785d3
commit
e07caddc92
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue