diff options
author | David Robillard <d@drobilla.net> | 2017-03-20 20:37:06 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-03-20 20:37:06 +0100 |
commit | 7e58577eb0474f304defeff0400e84477a7e88d5 (patch) | |
tree | 7f3a27d927b53b9a0af9c0fab8d4440613422b25 /ingen | |
parent | 1453cdcceedf1f368b6a0835e84c33f7c3d0f09f (diff) | |
download | ingen-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.hpp | 10 |
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; |