Srnd: only update LUFS and dBTP displays while transport is rolling
This commit is contained in:
parent
390ffb2253
commit
b37414e01c
@ -398,6 +398,9 @@ SurroundStrip::fast_update ()
|
|||||||
}
|
}
|
||||||
|
|
||||||
std::shared_ptr<SurroundReturn> sur = _route->surround_return ();
|
std::shared_ptr<SurroundReturn> sur = _route->surround_return ();
|
||||||
|
|
||||||
|
//these 2 text meters should only be updated while rolling or exporting
|
||||||
|
if (_route->session().transport_rolling()) {
|
||||||
float loud = sur->integrated_loudness();
|
float loud = sur->integrated_loudness();
|
||||||
if (loud > -90) {
|
if (loud > -90) {
|
||||||
char buf[32];
|
char buf[32];
|
||||||
@ -416,6 +419,7 @@ SurroundStrip::fast_update ()
|
|||||||
_dbtp_label.set_markup ("-");
|
_dbtp_label.set_markup ("-");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
SurroundStrip::route_property_changed (const PropertyChange& what_changed)
|
SurroundStrip::route_property_changed (const PropertyChange& what_changed)
|
||||||
|
Loading…
Reference in New Issue
Block a user