diff options
author | David Robillard <d@drobilla.net> | 2012-05-18 18:03:24 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-05-18 18:03:24 +0000 |
commit | ec4fd6dd3809a055b66c28f841df277e4cd9f62e (patch) | |
tree | 229dbb5f8046753c433853c890c32b1fdac97a48 /ingen/EngineBase.hpp | |
parent | da03dbe262f38fa0cc5eaacd176a4d8efe5029db (diff) | |
download | ingen-ec4fd6dd3809a055b66c28f841df277e4cd9f62e.tar.gz ingen-ec4fd6dd3809a055b66c28f841df277e4cd9f62e.tar.bz2 ingen-ec4fd6dd3809a055b66c28f841df277e4cd9f62e.zip |
Beginnings of a test framework.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4427 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'ingen/EngineBase.hpp')
-rw-r--r-- | ingen/EngineBase.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ingen/EngineBase.hpp b/ingen/EngineBase.hpp index c9acb512..5288eafa 100644 --- a/ingen/EngineBase.hpp +++ b/ingen/EngineBase.hpp @@ -37,6 +37,13 @@ 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. + */ + virtual void init(double sample_rate, uint32_t block_length) = 0; + + /** Activate the engine. */ virtual bool activate() = 0; |