diff options
author | David Robillard <d@drobilla.net> | 2007-01-06 19:39:56 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-01-06 19:39:56 +0000 |
commit | 69c5e7fe16b7d9d08db81a6d5e2762f0be3b081f (patch) | |
tree | 68fd1ea83beedaaaa97846ed09240a3585b2d931 /src/libs/engine/Patch.h | |
parent | 2122a857662203936a04a39df7d0e1ad1db82853 (diff) | |
download | ingen-69c5e7fe16b7d9d08db81a6d5e2762f0be3b081f.tar.gz ingen-69c5e7fe16b7d9d08db81a6d5e2762f0be3b081f.tar.bz2 ingen-69c5e7fe16b7d9d08db81a6d5e2762f0be3b081f.zip |
Added ability to get Raul Thread for current calling context.
Strong threading assertions.
Flowcanvas port removal fixes.
Patch port destruction.
Code cleanups, bug fixes.
git-svn-id: http://svn.drobilla.net/lad/ingen@234 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/Patch.h')
-rw-r--r-- | src/libs/engine/Patch.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libs/engine/Patch.h b/src/libs/engine/Patch.h index 3a4f08d5..b0fab692 100644 --- a/src/libs/engine/Patch.h +++ b/src/libs/engine/Patch.h @@ -76,6 +76,8 @@ public: const List<Node*>& nodes() const { return _nodes; } const List<Connection*>& connections() const { return _connections; } + size_t num_ports() const; + Port* create_port(const string& name, DataType type, size_t buffer_size, bool is_output); void add_input(ListNode<Port*>* port) { _input_ports.push_back(port); } ///< Preprocesser thread void add_output(ListNode<Port*>* port) { _output_ports.push_back(port); } ///< Preprocessor thread @@ -91,6 +93,7 @@ public: void external_ports(Array<Port*>* pa) { _ports = pa; } Array<Node*>* build_process_order() const; + Array<Port*>* build_ports_array() const; /** Whether to run this patch's DSP bits in the audio thread */ bool enabled() const { return _process; } |