summaryrefslogtreecommitdiffstats
path: root/src/server/Driver.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/Driver.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/Driver.hpp')
-rw-r--r--src/server/Driver.hpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/server/Driver.hpp b/src/server/Driver.hpp
index e12ae737..c96545b9 100644
--- a/src/server/Driver.hpp
+++ b/src/server/Driver.hpp
@@ -57,14 +57,16 @@ public:
virtual EnginePort* create_port(DuplexPort* patch_port) = 0;
/** Return the DriverPort for a particular path, iff one exists. */
- virtual EnginePort* engine_port(const Raul::Path& path) = 0;
+ virtual EnginePort* engine_port(ProcessContext& context,
+ const Raul::Path& path) = 0;
/** Add a system visible port (e.g. a port on the root patch). */
- virtual void add_port(EnginePort* port) = 0;
+ virtual void add_port(ProcessContext& context, EnginePort* port) = 0;
/** Remove a system visible port. */
- virtual Raul::Deletable* remove_port(const Raul::Path& path,
- EnginePort** port=NULL) = 0;
+ virtual Raul::Deletable* remove_port(ProcessContext& context,
+ const Raul::Path& path,
+ EnginePort** port = NULL) = 0;
/** Return the audio buffer size in frames */
virtual SampleCount block_length() const = 0;