13
0

Srnd: only update LUFS and dBTP displays while transport is rolling

This commit is contained in:
Ben Loftis 2024-01-21 10:55:01 -06:00
parent 390ffb2253
commit b37414e01c

View File

@ -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];
@ -415,6 +418,7 @@ SurroundStrip::fast_update ()
} else { } else {
_dbtp_label.set_markup ("-"); _dbtp_label.set_markup ("-");
} }
}
} }
void void