fix compilation problem on OS X caused by a missing implementation of a virtual method

This commit is contained in:
Paul Davis 2014-01-14 17:27:21 -05:00
parent 5abac7cddd
commit d434287811

View file

@ -143,10 +143,10 @@ Onset::initialise(size_t channels, size_t stepSize, size_t blockSize)
return true; return true;
} }
#ifdef HAVE_AUBIO4
void void
Onset::reset() Onset::reset()
{ {
#ifdef HAVE_AUBIO4
if (m_onsetdet) del_aubio_onset(m_onsetdet); if (m_onsetdet) del_aubio_onset(m_onsetdet);
m_onsetdet = new_aubio_onset m_onsetdet = new_aubio_onset
@ -163,8 +163,8 @@ Onset::reset()
lrintf(m_inputSampleRate)); lrintf(m_inputSampleRate));
m_lastOnset = Vamp::RealTime::zeroTime - m_delay - m_delay; m_lastOnset = Vamp::RealTime::zeroTime - m_delay - m_delay;
}
#endif #endif
}
size_t size_t
Onset::getPreferredStepSize() const Onset::getPreferredStepSize() const