NO-OP: declare GAIN_COEFF_DELTA in common header

This commit is contained in:
Robin Gareus
2025-11-27 01:18:57 +01:00
parent f86d4f3cd8
commit 6a5215db37
5 changed files with 1 additions and 7 deletions

View File

@@ -40,8 +40,6 @@
using namespace ARDOUR;
using namespace PBD;
#define GAIN_COEFF_DELTA (1e-5)
Amp::Amp (Session& s, const std::string& name, std::shared_ptr<GainControl> gc, bool control_midi_also)
: Processor(s, "Amp", Temporal::TimeDomainProvider (Temporal::AudioTime))
, _apply_gain_automation(false)

View File

@@ -27,6 +27,7 @@
#define GAIN_COEFF_ZERO 0.f
#define GAIN_COEFF_SMALL 0.0000001f //-140dB
#define GAIN_COEFF_UNITY 1.f
#define GAIN_COEFF_DELTA (1e-5) // -100dB
static inline float dB_to_coefficient (float dB) {
return dB > -318.8f ? pow (10.0f, dB * 0.05f) : 0.0f;

View File

@@ -1626,7 +1626,6 @@ DiskReader::dec_no_disk_output ()
/* min gain difference for de-click and loop-fadess
* (-60dB difference to target)
*/
#define GAIN_COEFF_DELTA (1e-5)
DiskReader::DeclickAmp::DeclickAmp (samplecnt_t sample_rate)
{

View File

@@ -49,8 +49,6 @@ using namespace std;
PBD::Signal<void(pframes_t)> InternalSend::CycleStart;
#define GAIN_COEFF_DELTA (1e-5)
InternalSend::InternalSend (Session& s,
std::shared_ptr<Pannable> p,
std::shared_ptr<MuteMaster> mm,

View File

@@ -28,8 +28,6 @@
#include "ardour/runtime_functions.h"
#include "ardour/session.h"
#define GAIN_COEFF_DELTA (1e-5)
using namespace ARDOUR;
using namespace std;