Add getProcessSizeLimit

This commit is contained in:
Chris Cannam
2023-07-25 13:11:21 +01:00
parent 1eddafd7a7
commit c69c3b7473
7 changed files with 43 additions and 4 deletions

View File

@@ -652,6 +652,12 @@ R3Stretcher::setMaxProcessSize(size_t requested)
ensureOutbuf(n * 8, false);
}
size_t
R3Stretcher::getProcessSizeLimit() const
{
return m_limits.overallMaxProcessSize;
}
void
R3Stretcher::ensureInbuf(int required, bool warn)
{