diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-08-10 19:12:38 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-08-10 19:12:38 +1000 |
| commit | 958160aa545e3d91b2a4f1a367817e73d298e8a9 (patch) | |
| tree | 190e6591a6dda1f0d9651c7e127666ead2a3373b /src/app_console/app_console.cpp | |
| parent | d8fc77101dcf80a3643a00b3446dca1e390ce997 (diff) | |
| download | tangara-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/app_console.cpp')
| -rw-r--r-- | src/app_console/app_console.cpp | 2 |
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()}); |
