parent
710545e706
commit
7709640aa0
|
@ -2634,7 +2634,7 @@ void FurnaceGUI::exportAudio(String path, DivAudioExportModes mode) {
|
||||||
e->findSongLength(loopOrder,loopRow,audioExportOptions.fadeOut,songFadeoutSectionLength,songHasSongEndCommand,songOrdersLengths,songLength); // for progress estimation
|
e->findSongLength(loopOrder,loopRow,audioExportOptions.fadeOut,songFadeoutSectionLength,songHasSongEndCommand,songOrdersLengths,songLength); // for progress estimation
|
||||||
|
|
||||||
songLoopedSectionLength=songLength;
|
songLoopedSectionLength=songLength;
|
||||||
for (int i=0; i<loopOrder; i++) {
|
for (int i=0; i<loopOrder && i<(int)songOrdersLengths.size(); i++) {
|
||||||
songLoopedSectionLength-=songOrdersLengths[i];
|
songLoopedSectionLength-=songOrdersLengths[i];
|
||||||
}
|
}
|
||||||
songLoopedSectionLength-=loopRow;
|
songLoopedSectionLength-=loopRow;
|
||||||
|
|
Loading…
Reference in a new issue