summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/PortImpl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/PortImpl.hpp')
-rw-r--r--src/libs/engine/PortImpl.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libs/engine/PortImpl.hpp b/src/libs/engine/PortImpl.hpp
index c2e2403d..ca21bb4c 100644
--- a/src/libs/engine/PortImpl.hpp
+++ b/src/libs/engine/PortImpl.hpp
@@ -105,6 +105,8 @@ public:
void broadcast(bool b) { _broadcast = b; }
bool broadcast() { return _broadcast; }
+ void raise_set_by_user_flag() { _set_by_user = true; }
+
protected:
PortImpl(NodeImpl* node,
const std::string& name,
@@ -125,6 +127,7 @@ protected:
Raul::Atom _value;
bool _fixed_buffers;
bool _broadcast;
+ bool _set_by_user;
Sample _last_broadcasted_value;
Raul::Array<Buffer*>* _buffers;