diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-02-17 20:15:26 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-02-17 20:15:26 +0000 |
commit | e9e1800d86ef4b37f42ecb18e8efbf6095b5a92b (patch) | |
tree | c7d9dbfcf5a4ed4e96f7bbb8d3b8bd75b1ee7243 /libs/panners | |
parent | 1b8e8303b25b6b013367741f2b47be3585b22cb3 (diff) |
GUI for VBAP panner actually does something (not the right thing, though)
git-svn-id: svn://localhost/ardour2/branches/3.0@8892 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/panners')
-rw-r--r-- | libs/panners/vbap/vbap.cc | 12 | ||||
-rw-r--r-- | libs/panners/vbap/vbap.h | 3 |
2 files changed, 15 insertions, 0 deletions
diff --git a/libs/panners/vbap/vbap.cc b/libs/panners/vbap/vbap.cc index fc75ae7183..56af0edbe1 100644 --- a/libs/panners/vbap/vbap.cc +++ b/libs/panners/vbap/vbap.cc @@ -347,3 +347,15 @@ VBAPanner::get_speakers () const { return _speakers->parent(); } + +void +VBAPanner::set_position (double p) +{ + _pannable->pan_azimuth_control->set_value (p); +} + +void +VBAPanner::set_width (double p) +{ + _pannable->pan_width_control->set_value (p); +} diff --git a/libs/panners/vbap/vbap.h b/libs/panners/vbap/vbap.h index af3c1c0df2..7aa136ac78 100644 --- a/libs/panners/vbap/vbap.h +++ b/libs/panners/vbap/vbap.h @@ -44,6 +44,9 @@ public: ChanCount in() const; ChanCount out() const; + void set_position (double); + void set_width (double); + std::set<Evoral::Parameter> what_can_be_automated() const; static Panner* factory (boost::shared_ptr<Pannable>, boost::shared_ptr<Speakers>); |