diff options
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; |