diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-01-14 21:13:21 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-01-14 21:13:21 -0500 |
commit | 37b1f5017e904005fae6b815b1519b3fa595d8d3 (patch) | |
tree | 35f4da37569cfadc1554f5f212efa54e8ec89d91 /libs/vamp-plugins | |
parent | adc2edc05cf2357d911c4767f6bb63bcf53145d8 (diff) | |
parent | 35c170937de6150ae09154f96e4920d30e83f6ce (diff) |
merge with master
Diffstat (limited to 'libs/vamp-plugins')
-rw-r--r-- | libs/vamp-plugins/Onset.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/vamp-plugins/Onset.cpp b/libs/vamp-plugins/Onset.cpp index f97af203c7..b8a9717024 100644 --- a/libs/vamp-plugins/Onset.cpp +++ b/libs/vamp-plugins/Onset.cpp @@ -146,10 +146,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 @@ -166,8 +166,8 @@ Onset::reset() lrintf(m_inputSampleRate)); m_lastOnset = Vamp::RealTime::zeroTime - m_delay - m_delay; -} #endif +} size_t Onset::getPreferredStepSize() const |