summaryrefslogtreecommitdiff
path: root/gtk2_ardour/dsp_load_indicator.h
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2018-02-14 10:26:23 -0600
committerBen Loftis <ben@harrisonconsoles.com>2018-02-14 10:26:23 -0600
commitf50c839ea82308632a51535594859eae3107a01d (patch)
treef693940ce5f0f72dd388121a9cff44bd9b81e2c3 /gtk2_ardour/dsp_load_indicator.h
parentdf9bb501556516ef35f5ec73a9f1df2568381c65 (diff)
Blink disk+dsp gauges on major errors ( disk out of space or xrun-while-recording )
Diffstat (limited to 'gtk2_ardour/dsp_load_indicator.h')
-rw-r--r--gtk2_ardour/dsp_load_indicator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/dsp_load_indicator.h b/gtk2_ardour/dsp_load_indicator.h
index bbdc400150..d350d5680d 100644
--- a/gtk2_ardour/dsp_load_indicator.h
+++ b/gtk2_ardour/dsp_load_indicator.h
@@ -31,6 +31,8 @@ public:
void set_xrun_count (const unsigned int xruns);
void set_dsp_load (const double load);
+ void set_xrun_while_recording () {_xrun_while_recording = true;}
+
protected:
bool alert () const;
ArdourGauge::Status indicator () const;
@@ -42,6 +44,7 @@ private:
float _dsp_load;
unsigned int _xrun_count;
+ bool _xrun_while_recording;
};
#endif