Fix DSP load sorting with inactive plugins

This commit is contained in:
Robin Gareus
2019-12-18 00:54:11 +01:00
parent c49c17ffff
commit a9f6484816

View File

@@ -37,8 +37,8 @@ public:
void start_updating ();
void stop_updating ();
double dsp_avg () const { return _valid ? _avg : -1; }
double dsp_max () const { return _valid ? _max : -1; }
double dsp_avg () const { return _valid ? _avg : -1; }
uint64_t dsp_max () const { return _valid ? _max : 0; }
private:
void update_cpu_label ();