Skip to content

Commit

Permalink
[Fix] Stream export: Aborting during normalization was not possible.
Browse files Browse the repository at this point in the history
git-svn-id: https://source.openmpt.org/svn/openmpt/trunk/OpenMPT@21783 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
sagamusix committed Oct 7, 2024
1 parent 0e61f69 commit 0816978
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mptrack/Mod2wave.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1368,6 +1368,11 @@ void CDoWaveConvert::Run()
lastPercent = percent;
}
ProcessMessages();
if(m_abort)
{
ok = IDCANCEL;
break;
}
}

framesProcessed += framesChunk;
Expand Down

0 comments on commit 0816978

Please sign in to comment.