Mercurial > hg > beatroot-vamp
comparison BeatRootVampPlugin.cpp @ 19:f66ed426a14f
Fix uninitialised sample rate in descriptor
author | Chris Cannam |
---|---|
date | Mon, 17 Oct 2011 13:08:19 +0100 |
parents | 0d4048bfadbb |
children | 6afcb5edd7ab |
comparison
equal
deleted
inserted
replaced
18:55969570044e | 19:f66ed426a14f |
---|---|
152 d.hasFixedBinCount = true; | 152 d.hasFixedBinCount = true; |
153 d.binCount = 0; | 153 d.binCount = 0; |
154 d.hasKnownExtents = false; | 154 d.hasKnownExtents = false; |
155 d.isQuantized = false; | 155 d.isQuantized = false; |
156 d.sampleType = OutputDescriptor::VariableSampleRate; | 156 d.sampleType = OutputDescriptor::VariableSampleRate; |
157 d.sampleRate = m_inputSampleRate; | |
157 d.hasDuration = false; | 158 d.hasDuration = false; |
158 list.push_back(d); | 159 list.push_back(d); |
159 | 160 |
160 return list; | 161 return list; |
161 } | 162 } |