From 46f97e8d92241c94d12d81ea182a9172df98e61e Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Wed, 25 Mar 2015 16:47:25 -0500 Subject: Initial Gain Coefficient tweaks 1) Disambiguate 1.0 to GAIN_COEFF_UNITY, and 0.0 to GAIN_COEFF_ZERO 2) Add GAIN_COEFF_SMALL which replaces SMALL_SIGNAL (-140dB) 3) GAIN_COEFF_SMALL can used to avoid interpolating towards -inf on a db scale 4) GAIN_COEFF_SMALL is used to detect very small (denormal?) gains and memset to zero --- libs/ardour/export_format_specification.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/export_format_specification.cc') diff --git a/libs/ardour/export_format_specification.cc b/libs/ardour/export_format_specification.cc index 7e41b209a4..32d16c9dee 100644 --- a/libs/ardour/export_format_specification.cc +++ b/libs/ardour/export_format_specification.cc @@ -167,7 +167,7 @@ ExportFormatSpecification::ExportFormatSpecification (Session & s) , _silence_end (s) , _normalize (false) - , _normalize_target (1.0) + , _normalize_target (GAIN_COEFF_UNITY) , _with_toc (false) , _with_cue (false) , _with_mp4chaps (false) -- cgit v1.2.3