Show DSP/CPU load of 0.0% when AudioEngine isn't running

This commit is contained in:
Tim Mayberry 2015-10-03 11:18:51 +10:00
parent b99d833028
commit da46df6225

View File

@ -923,7 +923,7 @@ AudioEngine::freewheel (bool start_stop)
float
AudioEngine::get_dsp_load() const
{
if (!_backend) {
if (!_backend || !_running) {
return 0.0;
}
return _backend->dsp_load ();