diff options
author | David Robillard <d@drobilla.net> | 2012-08-14 22:48:58 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-14 22:48:58 +0000 |
commit | 68c2d72ba4e2208ff926461bb6faccfbadcf2a61 (patch) | |
tree | ebda7b74b59165a7732293aad53228952e0b9e72 /src/server/Driver.hpp | |
parent | 76b602f1f834cb2c255848c5ba887b3d7c47171a (diff) | |
download | ingen-68c2d72ba4e2208ff926461bb6faccfbadcf2a61.tar.gz ingen-68c2d72ba4e2208ff926461bb6faccfbadcf2a61.tar.bz2 ingen-68c2d72ba4e2208ff926461bb6faccfbadcf2a61.zip |
Don't look up system ports by path in the audio thread.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4697 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/Driver.hpp')
-rw-r--r-- | src/server/Driver.hpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/server/Driver.hpp b/src/server/Driver.hpp index c96545b9..da9f09a5 100644 --- a/src/server/Driver.hpp +++ b/src/server/Driver.hpp @@ -60,13 +60,15 @@ public: virtual EnginePort* engine_port(ProcessContext& context, const Raul::Path& path) = 0; + /** Find a system port by path. */ + virtual EnginePort* port(const Raul::Path& path) = 0; + /** Add a system visible port (e.g. a port on the root patch). */ virtual void add_port(ProcessContext& context, EnginePort* port) = 0; /** Remove a system visible port. */ - virtual Raul::Deletable* remove_port(ProcessContext& context, - const Raul::Path& path, - EnginePort** port = NULL) = 0; + virtual Raul::Deletable* remove_port(ProcessContext& context, + EnginePort* port) = 0; /** Return the audio buffer size in frames */ virtual SampleCount block_length() const = 0; |