From: <sag...@us...> - 2015-07-14 20:30:10
|
Revision: 5414 http://sourceforge.net/p/modplug/code/5414 Author: saga-games Date: 2015-07-14 20:30:01 +0000 (Tue, 14 Jul 2015) Log Message: ----------- [Fix] VST: HERCs Abakos stopped working in r1846 / OpenMPT 1.22.02 [Mod] OpenMPT: Version is now 1.25.00.19 Revision Links: -------------- http://sourceforge.net/p/modplug/code/1846 Modified Paths: -------------- trunk/OpenMPT/common/versionNumber.h trunk/OpenMPT/mptrack/Vstplug.cpp Modified: trunk/OpenMPT/common/versionNumber.h =================================================================== --- trunk/OpenMPT/common/versionNumber.h 2015-07-13 20:44:21 UTC (rev 5413) +++ trunk/OpenMPT/common/versionNumber.h 2015-07-14 20:30:01 UTC (rev 5414) @@ -19,7 +19,7 @@ #define VER_MAJORMAJOR 1 #define VER_MAJOR 25 #define VER_MINOR 00 -#define VER_MINORMINOR 18 +#define VER_MINORMINOR 19 //Version string. For example "1.17.02.28" #define MPT_VERSION_STR VER_STRINGIZE(VER_MAJORMAJOR) "." VER_STRINGIZE(VER_MAJOR) "." VER_STRINGIZE(VER_MINOR) "." VER_STRINGIZE(VER_MINORMINOR) Modified: trunk/OpenMPT/mptrack/Vstplug.cpp =================================================================== --- trunk/OpenMPT/mptrack/Vstplug.cpp 2015-07-13 20:44:21 UTC (rev 5413) +++ trunk/OpenMPT/mptrack/Vstplug.cpp 2015-07-14 20:30:01 UTC (rev 5414) @@ -245,6 +245,10 @@ if(pVstPlugin) { return pVstPlugin->m_nSampleRate; + } else + { + // HERCs Abakos queries the sample rate while the plugin is being created and then never again... + return TrackerSettings::Instance().GetMixerSettings().gdwMixingFreq; } case audioMasterGetBlockSize: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |