mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
GUI for latency-measurement signal-level
This commit is contained in:
parent
f2b7d9af92
commit
aeaf0610d4
1 changed files with 7 additions and 0 deletions
|
|
@ -2782,6 +2782,13 @@ EngineControl::check_audio_latency_measurement ()
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (mtdm->get_peak () > 0.707f) {
|
||||||
|
// get_peak() resets the peak-hold in the detector.
|
||||||
|
// this GUI callback is at 10Hz and so will be fine (test-signal is at higher freq)
|
||||||
|
lm_results.set_markup (string_compose (results_markup, _("Input signal is > -3dBFS. Lower the signal level (output gain, input gain) on the audio-interface.")));
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
if (mtdm->err () > 0.3) {
|
if (mtdm->err () > 0.3) {
|
||||||
mtdm->invert ();
|
mtdm->invert ();
|
||||||
mtdm->resolve ();
|
mtdm->resolve ();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue