update a TODO comment in the code

This commit is contained in:
Volker Fischer 2020-04-12 19:54:47 +02:00
parent eca43c849a
commit b4eae44b7c
2 changed files with 3 additions and 3 deletions

View file

@ -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)

View file

@ -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