summaryrefslogtreecommitdiff
path: root/libs/panners/2in2out/panner_2in2out.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/panners/2in2out/panner_2in2out.cc')
-rw-r--r--libs/panners/2in2out/panner_2in2out.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/libs/panners/2in2out/panner_2in2out.cc b/libs/panners/2in2out/panner_2in2out.cc
index 8e798315d0..57b8836787 100644
--- a/libs/panners/2in2out/panner_2in2out.cc
+++ b/libs/panners/2in2out/panner_2in2out.cc
@@ -124,8 +124,21 @@ Panner2in2out::set_width (double p)
}
void
+Panner2in2out::thaw ()
+{
+ Panner::thaw ();
+ if (_frozen == 0) {
+ update ();
+ }
+}
+
+void
Panner2in2out::update ()
{
+ if (_frozen) {
+ return;
+ }
+
/* it would be very nice to split this out into a virtual function
that can be accessed from BaseStereoPanner and used in do_distribute_automated().