From f0b9061028528b6905dfa832cee60e02763366e0 Mon Sep 17 00:00:00 2001 From: Chris Cannam Date: Wed, 31 May 2023 14:06:15 +0100 Subject: [PATCH] Use longer time ratio, otherwise we are retrieving fewer samples than we intended to --- src/test/TestStretcher.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/TestStretcher.cpp b/src/test/TestStretcher.cpp index 4f60d66..719759d 100644 --- a/src/test/TestStretcher.cpp +++ b/src/test/TestStretcher.cpp @@ -665,7 +665,7 @@ BOOST_AUTO_TEST_CASE(sinusoid_realtime_long_blocksize_faster) { sinusoid_realtime(RubberBandStretcher::OptionEngineFaster | RubberBandStretcher::OptionProcessRealTime, - 0.5, 1.5, + 8.0, 1.5, 80000); } @@ -673,7 +673,7 @@ BOOST_AUTO_TEST_CASE(sinusoid_realtime_long_blocksize_finer) { sinusoid_realtime(RubberBandStretcher::OptionEngineFiner | RubberBandStretcher::OptionProcessRealTime, - 0.5, 1.5, + 8.0, 1.5, 80000); }