diff options
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/PortImpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/PortImpl.cpp b/src/server/PortImpl.cpp index c4d186d7..7dcbf060 100644 --- a/src/server/PortImpl.cpp +++ b/src/server/PortImpl.cpp @@ -225,7 +225,7 @@ PortImpl::broadcast_value(Context& context, bool force) break; case PortType::AUDIO: val = forge.make(((AudioBuffer*)buffer(0).get())->peak(context)); - { + if (force || val != _last_broadcasted_value) { const Notification note = Notification::make( Notification::PORT_ACTIVITY, context.start(), this, val); context.event_sink().write(sizeof(note), ¬e); |