From b718c77fe338c18b61280aefcf8d42c01a6299fd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 12 Apr 2017 20:19:08 +0200 Subject: Refuse to start if driver requires a graph and one is not provided --- ingen/EngineBase.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ingen') diff --git a/ingen/EngineBase.hpp b/ingen/EngineBase.hpp index f857f14a..272faa47 100644 --- a/ingen/EngineBase.hpp +++ b/ingen/EngineBase.hpp @@ -48,6 +48,15 @@ public: uint32_t block_length, 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. */ -- cgit v1.2.1