L: Fix Livetrax input meters
This commit is contained in:
parent
49b459eb46
commit
26c66ac688
@ -96,7 +96,7 @@ LiveTraxMeters::resize (size_t sz)
|
|||||||
b[2] = 0x991122ff; // red highlight gradient Bot
|
b[2] = 0x991122ff; // red highlight gradient Bot
|
||||||
b[3] = 0x551111ff; // red highlight gradient Top
|
b[3] = 0x551111ff; // red highlight gradient Top
|
||||||
|
|
||||||
stp[0] = 115.0 * log_meter0dB (-15);
|
stp[0] = 115.0 * log_meter0dB (-18);
|
||||||
stp[1] = 115.0 * log_meter0dB (-9);
|
stp[1] = 115.0 * log_meter0dB (-9);
|
||||||
stp[2] = 115.0 * log_meter0dB (-3);
|
stp[2] = 115.0 * log_meter0dB (-3);
|
||||||
stp[3] = 115.0;
|
stp[3] = 115.0;
|
||||||
@ -142,7 +142,8 @@ LiveTraxMeters::update_meters ()
|
|||||||
if (n >= _meters.size()) {
|
if (n >= _meters.size()) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
_meters[n]->set (p.second.meter->level, p.second.meter->peak);
|
_meters[n]->set (log_meter0dB (accurate_coefficient_to_dB (p.second.meter->level)),
|
||||||
|
log_meter0dB (accurate_coefficient_to_dB (p.second.meter->peak)));
|
||||||
++n;
|
++n;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user