summaryrefslogtreecommitdiff
path: root/libs/backends/jack/jack_connection.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-09-17 21:09:13 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-09-17 21:09:13 -0400
commitf51537b71d869904c5053853ff5456faae0a3b15 (patch)
tree11b164a07daa2d35ee80a23a4092659e56a262db /libs/backends/jack/jack_connection.h
parent7eda429155d5eac0ea0737a87850263c526aeb5a (diff)
substantive changes to allow the audio/MIDI setup dialog to change settings as intended
So far only tested with JACK backend, but expected to be more correct for other backends too
Diffstat (limited to 'libs/backends/jack/jack_connection.h')
-rw-r--r--libs/backends/jack/jack_connection.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/backends/jack/jack_connection.h b/libs/backends/jack/jack_connection.h
index cd45f3b9ba..229d9697d9 100644
--- a/libs/backends/jack/jack_connection.h
+++ b/libs/backends/jack/jack_connection.h
@@ -27,12 +27,15 @@ class JackConnection {
void halted_callback ();
void halted_info_callback (jack_status_t, const char*);
- static bool server_running();
+ bool in_control() const { return _in_control; }
+ static bool server_running();
+
private:
jack_client_t* volatile _jack;
std::string _client_name;
std::string session_uuid;
+ bool _in_control;
};
} // namespace