Document engine; add getEngineVersion()

This commit is contained in:
Chris Cannam
2022-06-28 11:47:30 +01:00
parent 0452145ff3
commit a7f9c47a00
3 changed files with 135 additions and 1 deletions

View File

@@ -96,6 +96,12 @@ public:
delete m_r3;
}
int getEngineVersion() const
{
if (m_r3) return 3;
else return 2;
}
void reset()
{
if (m_r2) m_r2->reset();
@@ -359,6 +365,12 @@ RubberBandStretcher::reset()
m_d->reset();
}
int
RubberBandStretcher::getEngineVersion() const
{
return m_d->getEngineVersion();
}
RTENTRY__
void
RubberBandStretcher::setTimeRatio(double ratio)