summaryrefslogtreecommitdiff
path: root/libs/ardour/panner_shell.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/panner_shell.cc')
-rw-r--r--libs/ardour/panner_shell.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/panner_shell.cc b/libs/ardour/panner_shell.cc
index ac3a93c615..5269085d0c 100644
--- a/libs/ardour/panner_shell.cc
+++ b/libs/ardour/panner_shell.cc
@@ -386,11 +386,11 @@ PannerShell::run (BufferSet& inbufs, BufferSet& outbufs, samplepos_t start_sampl
// More than 1 output
- AutoState as = _panner->automation_state ();
+ AutoState as = pannable ()->automation_state ();
// If we shouldn't play automation defer to distribute_no_automation
- if (!((as & Play) || ((as & (Touch | Latch)) && !_panner->touching()))) {
+ if (!((as & Play) || ((as & (Touch | Latch)) && !pannable ()->touching ()))) {
distribute_no_automation (inbufs, outbufs, nframes, 1.0);