From 69c5e7fe16b7d9d08db81a6d5e2762f0be3b081f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 6 Jan 2007 19:39:56 +0000 Subject: 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 --- src/libs/engine/Patch.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/libs/engine/Patch.h') 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& nodes() const { return _nodes; } const List& 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) { _input_ports.push_back(port); } ///< Preprocesser thread void add_output(ListNode* port) { _output_ports.push_back(port); } ///< Preprocessor thread @@ -91,6 +93,7 @@ public: void external_ports(Array* pa) { _ports = pa; } Array* build_process_order() const; + Array* build_ports_array() const; /** Whether to run this patch's DSP bits in the audio thread */ bool enabled() const { return _process; } -- cgit v1.2.1