From ba2e3fac36f4db4ec4c27775f1a2246c111ce403 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 9 May 2012 03:58:59 +0000 Subject: Factor audio thread execution stuff out of JackDriver into Engine::run(). Towards an Ingen library interface usable on user-provided buffers. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4326 a436a847-0d15-0410-975c-d299462d15a1 --- ingen/EngineBase.hpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ingen/EngineBase.hpp') diff --git a/ingen/EngineBase.hpp b/ingen/EngineBase.hpp index c40715d7..df65c5d0 100644 --- a/ingen/EngineBase.hpp +++ b/ingen/EngineBase.hpp @@ -17,6 +17,8 @@ #ifndef INGEN_ENGINE_BASE_HPP #define INGEN_ENGINE_BASE_HPP +#include + #include "raul/URI.hpp" namespace Ingen { @@ -43,6 +45,11 @@ public: */ virtual void deactivate() = 0; + /** + Process audio for @p sample_count frames. + */ + virtual void run(uint32_t sample_count) = 0; + /** Indicate that a quit is desired. -- cgit v1.2.1