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
1 changed files with 19 additions and 15 deletions

View File

@ -398,6 +398,9 @@ SurroundStrip::fast_update ()
}
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();
if (loud > -90) {
char buf[32];
@ -415,6 +418,7 @@ SurroundStrip::fast_update ()
} else {
_dbtp_label.set_markup ("-");
}
}
}
void