From b59584b387c4b77d09ba4c791eb711597f67c8c8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 8 Apr 2007 08:11:59 +0000 Subject: MIDI patching fixes (clean disconnecting). git-svn-id: http://svn.drobilla.net/lad/ingen@416 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/Patch.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/libs/engine/Patch.h') diff --git a/src/libs/engine/Patch.h b/src/libs/engine/Patch.h index 55a2be83..76290c8f 100644 --- a/src/libs/engine/Patch.h +++ b/src/libs/engine/Patch.h @@ -98,21 +98,21 @@ public: /** Whether to run this patch's DSP bits in the audio thread */ bool enabled() const { return _process; } - void enable() { _process = true; } + void enable() { _process = true; } void disable(); size_t internal_poly() const { return _internal_poly; } private: - inline void build_process_order_recursive(Node* n, Raul::Array* order) const; - - size_t _internal_poly; - Raul::Array* _process_order; ///< Accessed in audio thread only - Raul::List _connections; ///< Accessed in audio thread only - Raul::List _input_ports; ///< Accessed in preprocessing thread only - Raul::List _output_ports; ///< Accessed in preprocessing thread only - Raul::List _nodes; ///< Accessed in preprocessing thread only - bool _process; + inline void build_process_order_recursive(Node* n, Raul::Array* order) const; + + size_t _internal_poly; + Raul::Array* _process_order; ///< Accessed in audio thread only + Raul::List _connections; ///< Accessed in audio thread only + Raul::List _input_ports; ///< Accessed in preprocessing thread only + Raul::List _output_ports; ///< Accessed in preprocessing thread only + Raul::List _nodes; ///< Accessed in preprocessing thread only + bool _process; }; -- cgit v1.2.1