mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Srnd: only update LUFS and dBTP displays while transport is rolling
This commit is contained in:
parent
390ffb2253
commit
b37414e01c
1 changed files with 19 additions and 15 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue