comparison src/vamp-hostsdk/PluginSummarisingAdapter.cpp @ 385:632d90c185ec

Fix some compiler warnings
author Chris Cannam
date Thu, 16 Oct 2014 10:50:20 +0100
parents d5c5a52e6c9f
children b7268e8bd292 a13635e9c440
comparison
equal deleted inserted replaced
384:364e4653fe20 385:632d90c185ec
218 PluginSummarisingAdapter::Impl::~Impl() 218 PluginSummarisingAdapter::Impl::~Impl()
219 { 219 {
220 } 220 }
221 221
222 bool 222 bool
223 PluginSummarisingAdapter::Impl::initialise(size_t channels, 223 PluginSummarisingAdapter::Impl::initialise(size_t, size_t stepSize, size_t blockSize)
224 size_t stepSize, size_t blockSize)
225 { 224 {
226 m_stepSize = stepSize; 225 m_stepSize = stepSize;
227 m_blockSize = blockSize; 226 m_blockSize = blockSize;
228 return true; 227 return true;
229 } 228 }
449 448
450 void 449 void
451 PluginSummarisingAdapter::Impl::accumulate(int output, 450 PluginSummarisingAdapter::Impl::accumulate(int output,
452 const Feature &f, 451 const Feature &f,
453 RealTime timestamp, 452 RealTime timestamp,
454 bool final) 453 bool /* final */)
455 { 454 {
456 // What should happen if a feature's duration spans a segment 455 // What should happen if a feature's duration spans a segment
457 // boundary? I think we probably want to chop it, and pretend 456 // boundary? I think we probably want to chop it, and pretend
458 // that it appears in both. A very long feature (e.g. key, if the 457 // that it appears in both. A very long feature (e.g. key, if the
459 // whole audio is in a single key) might span many or all 458 // whole audio is in a single key) might span many or all