summaryrefslogtreecommitdiffstats
path: root/src/server/JackDriver.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-05-12 06:09:44 +0000
committerDavid Robillard <d@drobilla.net>2012-05-12 06:09:44 +0000
commit1d9bb9768f8a7d0c76fa33688051cd8f2715075d (patch)
tree45aa6f6235fb6d2c4227081eeb7c938db255aab5 /src/server/JackDriver.hpp
parenta53738e05b296b4ab4e0b701ea37d60013a42605 (diff)
downloadingen-1d9bb9768f8a7d0c76fa33688051cd8f2715075d.tar.gz
ingen-1d9bb9768f8a7d0c76fa33688051cd8f2715075d.tar.bz2
ingen-1d9bb9768f8a7d0c76fa33688051cd8f2715075d.zip
Use compiler checkable ProcessContext parameter rather than runtime context assertions.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4374 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/JackDriver.hpp')
-rw-r--r--src/server/JackDriver.hpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/server/JackDriver.hpp b/src/server/JackDriver.hpp
index a2da2034..a63b6e6b 100644
--- a/src/server/JackDriver.hpp
+++ b/src/server/JackDriver.hpp
@@ -99,10 +99,12 @@ public:
EnginePort* port(const Raul::Path& path);
EnginePort* create_port(DuplexPort* patch_port);
- void add_port(EnginePort* port);
- EnginePort* engine_port(const Raul::Path& path);
+ void add_port(ProcessContext& context, EnginePort* port);
+ EnginePort* engine_port(ProcessContext& context, const Raul::Path& path);
- Raul::Deletable* remove_port(const Raul::Path& path, EnginePort** port=NULL);
+ Raul::Deletable* remove_port(ProcessContext& context,
+ const Raul::Path& path,
+ EnginePort** port = NULL);
/** Transport state for this frame.
* Intended to only be called from the audio thread. */