From: <Rel...@us...> - 2007-02-26 21:38:15
|
Revision: 173 http://svn.sourceforge.net/modplug/?rev=173&view=rev Author: Relabsoluness Date: 2007-02-26 13:38:06 -0800 (Mon, 26 Feb 2007) Log Message: ----------- . <Relabs> Quick fix for a bug created in Rev. 172 related to VST volume parameter(it was quarter of the value it should have been(I guess)). Modified Paths: -------------- branches/OpenMPT_MPTm_Tuning/soundlib/Sndfile.h Modified: branches/OpenMPT_MPTm_Tuning/soundlib/Sndfile.h =================================================================== --- branches/OpenMPT_MPTm_Tuning/soundlib/Sndfile.h 2007-02-03 21:24:42 UTC (rev 172) +++ branches/OpenMPT_MPTm_Tuning/soundlib/Sndfile.h 2007-02-26 21:38:06 UTC (rev 173) @@ -585,7 +585,7 @@ float m_nPlugInitialParamValue; //rewbs.smoothVST typedef UINT VOLUME; - VOLUME GetVSTVolume() {return (pHeader) ? pHeader->nGlobalVol : nVolume;} + VOLUME GetVSTVolume() {return (pHeader) ? pHeader->nGlobalVol*4 : nVolume;} //-->Relabs.Tuning-modes-to-work-properly-with-effects-variables bool m_ReCalculateFreqOnFirstTick; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |