changeset 19:f66ed426a14f

Fix uninitialised sample rate in descriptor
author Chris Cannam
date Mon, 17 Oct 2011 13:08:19 +0100
parents 55969570044e
children 03927f6acee2
files BeatRootVampPlugin.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/BeatRootVampPlugin.cpp	Fri Oct 14 10:44:38 2011 +0100
+++ b/BeatRootVampPlugin.cpp	Mon Oct 17 13:08:19 2011 +0100
@@ -154,6 +154,7 @@
     d.hasKnownExtents = false;
     d.isQuantized = false;
     d.sampleType = OutputDescriptor::VariableSampleRate;
+    d.sampleRate = m_inputSampleRate;
     d.hasDuration = false;
     list.push_back(d);