Add silence to avoid popping noise

This commit is contained in:
cam900 2023-06-26 19:59:57 +09:00
parent 7b49b4b8e0
commit 4efd3591d2
1 changed files with 1 additions and 0 deletions

View File

@ -477,6 +477,7 @@ void DivPlatformK053260::renderSamples(int sysID) {
for (int j=0; j<actualLength; j++) {
sampleMem[memPos++]=s->data8[j];
}
sampleMem[memPos++]=0; // Silence for avoid popping noise
}
if (actualLength<length) {
logW("out of K053260 PCM memory for sample %d!",i);