Mercurial > hg > vamp-plugin-sdk
diff src/vamp-hostsdk/PluginSummarisingAdapter.cpp @ 272:9dc3a5e17600 vamp-plugin-sdk-v2.0pre2
* win32 avoid warning
author | cannam |
---|---|
date | Sat, 29 Nov 2008 12:06:14 +0000 |
parents | 03c7167e1f30 |
children | de3e865f92c8 |
line wrap: on
line diff
--- a/src/vamp-hostsdk/PluginSummarisingAdapter.cpp Wed Nov 26 22:36:47 2008 +0000 +++ b/src/vamp-hostsdk/PluginSummarisingAdapter.cpp Sat Nov 29 12:06:14 2008 +0000 @@ -230,7 +230,7 @@ FeatureSet fs = m_plugin->process(inputBuffers, timestamp); accumulate(fs, timestamp, false); m_endTime = timestamp + - RealTime::frame2RealTime(m_stepSize, m_inputSampleRate); + RealTime::frame2RealTime(m_stepSize, int(m_inputSampleRate + 0.5)); return fs; }