summaryrefslogtreecommitdiffstats
path: root/ingen
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-04-12 20:19:08 +0200
committerDavid Robillard <d@drobilla.net>2017-04-12 20:22:41 +0200
commitb718c77fe338c18b61280aefcf8d42c01a6299fd (patch)
tree6160f7b2d00cda4291272818191eb2a8d2a8aaef /ingen
parent372ac1950628f7ae2f555181c57e3f69b45dbb7d (diff)
downloadingen-b718c77fe338c18b61280aefcf8d42c01a6299fd.tar.gz
ingen-b718c77fe338c18b61280aefcf8d42c01a6299fd.tar.bz2
ingen-b718c77fe338c18b61280aefcf8d42c01a6299fd.zip
Refuse to start if driver requires a graph and one is not provided
Diffstat (limited to 'ingen')
-rw-r--r--ingen/EngineBase.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/ingen/EngineBase.hpp b/ingen/EngineBase.hpp
index f857f14a..272faa47 100644
--- a/ingen/EngineBase.hpp
+++ b/ingen/EngineBase.hpp
@@ -49,6 +49,15 @@ public:
size_t seq_size) = 0;
/**
+ Return true iff the engine and driver supports dynamic ports.
+
+ This returns false in situations where top level ports can not be
+ created once the driver is running, which is the case for most
+ environments outside Jack.
+ */
+ virtual bool supports_dynamic_ports() const = 0;
+
+ /**
Activate the engine.
*/
virtual bool activate() = 0;