NO-OP: declare GAIN_COEFF_DELTA in common header
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user