|
From: <sag...@us...> - 2013-05-20 17:10:18
|
Revision: 2150
http://sourceforge.net/p/modplug/code/2150
Author: saga-games
Date: 2013-05-20 17:10:12 +0000 (Mon, 20 May 2013)
Log Message:
-----------
[Fix] Compile error.
Modified Paths:
--------------
trunk/OpenMPT/mptrack/View_smp.cpp
Modified: trunk/OpenMPT/mptrack/View_smp.cpp
===================================================================
--- trunk/OpenMPT/mptrack/View_smp.cpp 2013-05-20 16:39:22 UTC (rev 2149)
+++ trunk/OpenMPT/mptrack/View_smp.cpp 2013-05-20 17:10:12 UTC (rev 2150)
@@ -2246,7 +2246,7 @@
CSoundFile &sndFile = pModDoc->GetrSoundFile();
ModSample &sample = sndFile.GetSample(m_nSample);
- uint32 freq = sndFile.GetFreqFromPeriod(pSndFile->GetPeriodFromNote(note + (pSndFile->GetType() == MOD_TYPE_XM ? sample.RelativeTone : 0), sample.nFineTune, sample.nC5Speed), sample.nC5Speed, 0);
+ uint32 freq = sndFile.GetFreqFromPeriod(sndFile.GetPeriodFromNote(note + (sndFile.GetType() == MOD_TYPE_XM ? sample.RelativeTone : 0), sample.nFineTune, sample.nC5Speed), sample.nC5Speed, 0);
CHAR s[32];
wsprintf(s, "%s (%d.%d Hz)", szDefaultNoteNames[note - 1], freq >> FREQ_FRACBITS, Util::muldiv(freq & ((1 << FREQ_FRACBITS) - 1), 100, 1 << FREQ_FRACBITS));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|