diff options
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -14,6 +14,7 @@ const int default_bpm = 120; const int pcm_latency_us = 100000; const int click_latency_frames = 10000; const int default_mode = 0; // 0 = note, 1 = clock, 2 = internal +const int default_output = 1; // 0 = off, 1 = on class Config { @@ -26,6 +27,7 @@ public: boost::signals2::signal<void(int)> signal_channel; boost::signals2::signal<void(int)> signal_note; boost::signals2::signal<void(int)> signal_bpm; + boost::signals2::signal<void(int)> signal_output; int get_midi_channel(); void set_midi_channel(int channel); @@ -39,6 +41,9 @@ public: int get_mode(); void set_mode(int mode); + int get_output(); + void set_output(int output); + void recover(); void persist(); @@ -47,4 +52,5 @@ private: int m_midi_note; int m_bpm; int m_mode; + int m_output; }; |