Skip to content

Commit

Permalink
Merged revision(s) 22529 from trunk/OpenMPT:
Browse files Browse the repository at this point in the history
[Fix] Reset tempo mode when initializing module. Since only few formats use a tempo mode other than classic, and their loaders don't return false after the tempo mode has been set, this does not make a difference in practice right now.
........


git-svn-id: https://source.openmpt.org/svn/openmpt/branches/OpenMPT-1.31@22675 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
sagamusix committed Jan 1, 2025
1 parent 3fc4a6c commit b6b8e93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions soundlib/Sndfile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ void CSoundFile::InitializeGlobals(MODTYPE type)
m_nResampling = SRCMODE_DEFAULT;
m_dwLastSavedWithVersion = Version(0);
m_dwCreatedWithVersion = Version(0);
m_nTempoMode = TempoMode::Classic;

SetMixLevels(MixLevels::Compatible);

Expand Down

0 comments on commit b6b8e93

Please sign in to comment.