This commit is contained in:
tildearrow 2023-08-21 14:17:53 -05:00
parent 6ba8527cb6
commit f5a881917f
1 changed files with 4 additions and 4 deletions

View File

@ -1194,9 +1194,9 @@ bool DivEngine::saveAudio(const char* path, int loops, DivAudioExportModes mode,
quitDispatch();
initDispatch(true);
renderSamplesP();
for (int i=0; i<tchans; i++) {
for (int i=0; i<chans; i++) {
if (isMutedBefore[i]) {
muteChannels(i,true);
muteChannel(i,true);
}
}
}
@ -1228,9 +1228,9 @@ void DivEngine::finishAudioFile() {
quitDispatch();
initDispatch(false);
renderSamplesP();
for (int i=0; i<tchans; i++) {
for (int i=0; i<chans; i++) {
if (isMutedBefore[i]) {
muteChannels(i,true);
muteChannel(i,true);
}
}
}