mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 00:04:56 +01:00
fix compilation problem on OS X caused by a missing implementation of a virtual method
This commit is contained in:
parent
5abac7cddd
commit
d434287811
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue