GUI for latency-measurement signal-level
This commit is contained in:
parent
f2b7d9af92
commit
aeaf0610d4
|
@ -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…
Reference in New Issue
Block a user