summaryrefslogtreecommitdiffstats
path: root/ingen
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-05-09 03:58:59 +0000
committerDavid Robillard <d@drobilla.net>2012-05-09 03:58:59 +0000
commitba2e3fac36f4db4ec4c27775f1a2246c111ce403 (patch)
treefc21cb90726b555f2c7fe3be796cd51cdd3fd88a /ingen
parentc0e6f7ecbf77ef59e7e4948dd96109417a4994d5 (diff)
downloadingen-ba2e3fac36f4db4ec4c27775f1a2246c111ce403.tar.gz
ingen-ba2e3fac36f4db4ec4c27775f1a2246c111ce403.tar.bz2
ingen-ba2e3fac36f4db4ec4c27775f1a2246c111ce403.zip
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
Diffstat (limited to 'ingen')
-rw-r--r--ingen/EngineBase.hpp7
1 files changed, 7 insertions, 0 deletions
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 <stdint.h>
+
#include "raul/URI.hpp"
namespace Ingen {
@@ -44,6 +46,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.
This function simply sets a flag which affects the return value of