From: <sv...@op...> - 2025-01-01 01:19:05
|
Author: sagamusix Date: Wed Jan 1 02:18:59 2025 New Revision: 22675 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=22675 Log: Merged revision(s) 22529 from trunk/OpenMPT: [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. ........ Modified: branches/OpenMPT-1.31/ (props changed) branches/OpenMPT-1.31/soundlib/Sndfile.cpp Modified: branches/OpenMPT-1.31/soundlib/Sndfile.cpp ============================================================================== --- branches/OpenMPT-1.31/soundlib/Sndfile.cpp Wed Jan 1 02:15:46 2025 (r22674) +++ branches/OpenMPT-1.31/soundlib/Sndfile.cpp Wed Jan 1 02:18:59 2025 (r22675) @@ -212,6 +212,7 @@ m_nResampling = SRCMODE_DEFAULT; m_dwLastSavedWithVersion = Version(0); m_dwCreatedWithVersion = Version(0); + m_nTempoMode = TempoMode::Classic; SetMixLevels(MixLevels::Compatible); |