update reported DSP load for ALSA & Dummy
This commit is contained in:
parent
1c43383e92
commit
1691e965a5
|
@ -899,7 +899,7 @@ AlsaAudioBackend::freewheel (bool onoff)
|
|||
float
|
||||
AlsaAudioBackend::dsp_load () const
|
||||
{
|
||||
return std::min(100.f, 100.f * _dsp_load);
|
||||
return 100.f * _dsp_load;
|
||||
}
|
||||
|
||||
size_t
|
||||
|
|
|
@ -1268,7 +1268,7 @@ DummyAudioBackend::main_process_thread ()
|
|||
if (!_freewheel) {
|
||||
_dsp_load_calc.set_start_timestamp_us (clock1);
|
||||
_dsp_load_calc.set_stop_timestamp_us (_x_get_monotonic_usec());
|
||||
_dsp_load = _dsp_load_calc.get_dsp_load ();
|
||||
_dsp_load = _dsp_load_calc.get_dsp_load_unbound ();
|
||||
|
||||
const int64_t elapsed_time = _dsp_load_calc.elapsed_time_us ();
|
||||
const int64_t nominal_time = _dsp_load_calc.get_max_time_us ();
|
||||
|
|
Loading…
Reference in New Issue