From 958160aa545e3d91b2a4f1a367817e73d298e8a9 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Thu, 10 Aug 2023 19:12:38 +1000 Subject: Use the libspeexdsp resampler AFAICT it runs a little slower? but it's fixed point, and has much better understood audio characteristics. --- src/app_console/app_console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/app_console/app_console.cpp') diff --git a/src/app_console/app_console.cpp b/src/app_console/app_console.cpp index 8686ac58..30b7d2dc 100644 --- a/src/app_console/app_console.cpp +++ b/src/app_console/app_console.cpp @@ -403,7 +403,7 @@ int CmdTaskStats(int argc, char** argv) { str << "\t\t"; } - str << std::fixed << std::setprecision(1) << time_percent * 100; + str << std::fixed << std::setprecision(1) << (time_percent * 100); str << "%"; info_strings.push_back({run_time, str.str()}); -- cgit v1.2.3