Rework output resampler handling to deal with case where fewer samples are consumed than available

This commit is contained in:
Chris Cannam
2024-03-15 16:59:22 +00:00
parent cbb8329057
commit 59d0ff6abe
4 changed files with 56 additions and 56 deletions

View File

@@ -201,13 +201,6 @@ BQResampler::resampleInterleaved(float *const out,
}
}
if (i < incount_samples) {
std::cerr << "only used " << i << " of " << incount_samples
<< " samples to generate output count " << o
<< " (outspace_samples was " << outspace_samples << ")"
<< std::endl;
}
int fbufsize = m_fade->buffer.size();
int fi = 0, fo = 0;
while (fo < o && m_fade_count > 0) {