summaryrefslogtreecommitdiffstats
path: root/src/server/Context.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/Context.hpp')
-rw-r--r--src/server/Context.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/server/Context.hpp b/src/server/Context.hpp
index 028ee126..ea3593b8 100644
--- a/src/server/Context.hpp
+++ b/src/server/Context.hpp
@@ -53,6 +53,14 @@ public:
virtual ~Context() {}
+ /** Return true iff the given port should broadcast its value.
+ *
+ * Whether or not broadcasting is actually done is a per-client property,
+ * this is for use in the audio thread to quickly determine if the
+ * necessary calculations need to be done at all.
+ */
+ bool must_notify(const PortImpl* port) const;
+
/** Send a notification from this run context.
* @return false on failure (ring is full)
*/