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();
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue