From 0752556bde5659a933744658cdf63509000a5080 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 6 Dec 2016 11:03:35 -0500 Subject: Fix some real-time safety issues --- src/server/PortImpl.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server/PortImpl.hpp') diff --git a/src/server/PortImpl.hpp b/src/server/PortImpl.hpp index e497176c..94fdd50c 100644 --- a/src/server/PortImpl.hpp +++ b/src/server/PortImpl.hpp @@ -119,8 +119,8 @@ public: accessed in the process thread, which is required for applying control bindings from incoming MIDI data. */ - void set_minimum(const Atom& min) { _min = min; } - void set_maximum(const Atom& max) { _max = max; } + void set_minimum(const Atom& min) { _min.set_rt(min); } + void set_maximum(const Atom& max) { _max.set_rt(max); } inline BufferRef buffer(uint32_t voice) const { return _voices->at((_poly == 1) ? 0 : voice).buffer; -- cgit v1.2.1