From d434287811a2eae3fe6c5da95e30b6a3d0fd50e1 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 14 Jan 2014 17:27:21 -0500 Subject: [PATCH] fix compilation problem on OS X caused by a missing implementation of a virtual method --- libs/vamp-plugins/Onset.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/vamp-plugins/Onset.cpp b/libs/vamp-plugins/Onset.cpp index 196ca29dac..ddbecd21e7 100644 --- a/libs/vamp-plugins/Onset.cpp +++ b/libs/vamp-plugins/Onset.cpp @@ -143,10 +143,10 @@ Onset::initialise(size_t channels, size_t stepSize, size_t blockSize) return true; } -#ifdef HAVE_AUBIO4 void Onset::reset() { +#ifdef HAVE_AUBIO4 if (m_onsetdet) del_aubio_onset(m_onsetdet); m_onsetdet = new_aubio_onset @@ -163,8 +163,8 @@ Onset::reset() lrintf(m_inputSampleRate)); m_lastOnset = Vamp::RealTime::zeroTime - m_delay - m_delay; -} #endif +} size_t Onset::getPreferredStepSize() const