summaryrefslogtreecommitdiff
path: root/src/app_console
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2023-08-10 19:12:38 +1000
committerjacqueline <me@jacqueline.id.au>2023-08-10 19:12:38 +1000
commit958160aa545e3d91b2a4f1a367817e73d298e8a9 (patch)
tree190e6591a6dda1f0d9651c7e127666ead2a3373b /src/app_console
parentd8fc77101dcf80a3643a00b3446dca1e390ce997 (diff)
downloadtangara-fw-958160aa545e3d91b2a4f1a367817e73d298e8a9.tar.gz
Use the libspeexdsp resampler
AFAICT it runs a little slower? but it's fixed point, and has much better understood audio characteristics.
Diffstat (limited to 'src/app_console')
-rw-r--r--src/app_console/app_console.cpp2
1 files changed, 1 insertions, 1 deletions
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()});