summaryrefslogtreecommitdiffstats
path: root/ingen
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-03-20 20:37:06 +0100
committerDavid Robillard <d@drobilla.net>2017-03-20 20:37:06 +0100
commit7e58577eb0474f304defeff0400e84477a7e88d5 (patch)
tree7f3a27d927b53b9a0af9c0fab8d4440613422b25 /ingen
parent1453cdcceedf1f368b6a0835e84c33f7c3d0f09f (diff)
downloadingen-7e58577eb0474f304defeff0400e84477a7e88d5.tar.gz
ingen-7e58577eb0474f304defeff0400e84477a7e88d5.tar.bz2
ingen-7e58577eb0474f304defeff0400e84477a7e88d5.zip
Revert removal of DirectDriver and fix test suite
Diffstat (limited to 'ingen')
-rw-r--r--ingen/EngineBase.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/ingen/EngineBase.hpp b/ingen/EngineBase.hpp
index c52ee559..a57743fe 100644
--- a/ingen/EngineBase.hpp
+++ b/ingen/EngineBase.hpp
@@ -39,6 +39,16 @@ public:
virtual ~EngineBase() {}
/**
+ Initialise the engine for local use (e.g. without a Jack driver).
+ @param sample_rate Audio sampling rate in Hz.
+ @param block_length Audio block length (i.e. buffer size) in frames.
+ @param seq_size Sequence buffer size in bytes.
+ */
+ virtual void init(double sample_rate,
+ uint32_t block_length,
+ size_t seq_size) = 0;
+
+ /**
Activate the engine.
*/
virtual bool activate() = 0;