mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
a-comp, a-exp: Tweak meter bar range for consistency with inline-ui
This commit is contained in:
parent
dfe2270c9f
commit
01ac9d63e8
6 changed files with 31 additions and 27 deletions
|
|
@ -39,6 +39,8 @@
|
|||
# define M_PI 3.14159265358979323846
|
||||
#endif
|
||||
|
||||
#define MINUS_60 0.0001f
|
||||
|
||||
#ifdef COMPILER_MSVC
|
||||
#include <float.h>
|
||||
#define isfinite_local(val) (bool)_finite((double)val)
|
||||
|
|
@ -417,7 +419,7 @@ run(LV2_Handle instance, uint32_t n_samples)
|
|||
makeup_gain = makeup_target;
|
||||
}
|
||||
|
||||
*(acomp->outlevel) = (max_out < 0.0056f) ? -70.f : to_dB(max_out);
|
||||
*(acomp->outlevel) = (max_out < MINUS_60) ? -60.f : to_dB(max_out);
|
||||
*(acomp->inlevel) = in_peak_db;
|
||||
acomp->makeup_gain = makeup_gain;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue