From b4eae44b7c5affaef71ec1837a99c5b9dbaae93b Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Sun, 12 Apr 2020 19:54:47 +0200 Subject: [PATCH] update a TODO comment in the code --- ChangeLog | 2 -- src/util.cpp | 4 +++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 110a1266..35e6c4ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,8 +6,6 @@ * refresh server list if the Central Server address type is changed -TODO fix UpdateCurLevel() for new 64 samples frame size - TODO mixer faders linear -> log gain is better TODO offer the Jamulus ASIO settingspanel in case of an ASIO ERROR to fix, e.g., incorrect sample rate (https://sourceforge.net/p/llcon/discussion/533517/thread/777663cf94/#035f) diff --git a/src/util.cpp b/src/util.cpp index 1af4d1ed..9b1a9c01 100755 --- a/src/util.cpp +++ b/src/util.cpp @@ -66,7 +66,9 @@ double CStereoSignalLevelMeter::UpdateCurLevel ( double dCurLevel, // decrease max with time if ( dCurLevel >= METER_FLY_BACK ) { -// TODO calculate factor from sample rate +// TODO Calculate factor from sample rate and frame size (64 or 128 samples frame size). +// But tests with 128 and 64 samples frame size have shown that the meter fly back +// is ok for both numbers of samples frame size. dCurLevel *= 0.95; } else