Fix lua-doc (Null pointer c'tor doc)
[ardour.git] / libs / panners / vbap / vbap.cc
index f890b5032404ed199b1e6fbb541cacb2af579c4d..e6cbd3655ff741be3e69946cafa3664768eafd54 100644 (file)
@@ -42,7 +42,7 @@
 #include "vbap.h"
 #include "vbap_speakers.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace PBD;
 using namespace ARDOUR;
@@ -420,7 +420,7 @@ VBAPanner::describe_parameter (Evoral::Parameter p)
 }
 
 string
-VBAPanner::value_as_string (boost::shared_ptr<AutomationControl> ac) const
+VBAPanner::value_as_string (boost::shared_ptr<const AutomationControl> ac) const
 {
         /* DO NOT USE LocaleGuard HERE */
         double val = ac->get_value();
@@ -463,19 +463,19 @@ VBAPanner::set_position (double p)
        int over = p;
        over -= (p >= 0) ? 0 : 1;
        p -= (double)over;
-       _pannable->pan_azimuth_control->set_value (p);
+       _pannable->pan_azimuth_control->set_value (p, Controllable::NoGroup);
 }
 
 void
 VBAPanner::set_width (double w)
 {
-        _pannable->pan_width_control->set_value (min (1.0, max (-1.0, w)));
+       _pannable->pan_width_control->set_value (min (1.0, max (-1.0, w)), Controllable::NoGroup);
 }
 
 void
 VBAPanner::set_elevation (double e)
 {
-        _pannable->pan_elevation_control->set_value (min (1.0, max (0.0, e)));
+       _pannable->pan_elevation_control->set_value (min (1.0, max (0.0, e)), Controllable::NoGroup);
 }
 
 void