fix
This commit is contained in:
parent
6ba8527cb6
commit
f5a881917f
|
@ -1194,9 +1194,9 @@ bool DivEngine::saveAudio(const char* path, int loops, DivAudioExportModes mode,
|
||||||
quitDispatch();
|
quitDispatch();
|
||||||
initDispatch(true);
|
initDispatch(true);
|
||||||
renderSamplesP();
|
renderSamplesP();
|
||||||
for (int i=0; i<tchans; i++) {
|
for (int i=0; i<chans; i++) {
|
||||||
if (isMutedBefore[i]) {
|
if (isMutedBefore[i]) {
|
||||||
muteChannels(i,true);
|
muteChannel(i,true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1228,9 +1228,9 @@ void DivEngine::finishAudioFile() {
|
||||||
quitDispatch();
|
quitDispatch();
|
||||||
initDispatch(false);
|
initDispatch(false);
|
||||||
renderSamplesP();
|
renderSamplesP();
|
||||||
for (int i=0; i<tchans; i++) {
|
for (int i=0; i<chans; i++) {
|
||||||
if (isMutedBefore[i]) {
|
if (isMutedBefore[i]) {
|
||||||
muteChannels(i,true);
|
muteChannel(i,true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue