summaryrefslogtreecommitdiff
path: root/gtk2_ardour/dsp_load_indicator.h
diff options
context:
space:
mode:
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