add sampo's synthesize_sources perl script to tools; add scroll-playhead-{forward...
[ardour.git] / gtk2_ardour / redirect_automation_line.cc
index c1b1ba8aa0303ec42515bff2c9b0768e1634d910..1ea5013295ef79d445483a5d0ba9be616d05a65f 100644 (file)
@@ -32,8 +32,9 @@
 
 using namespace std;
 using namespace ARDOUR;
+using namespace PBD;
 
-RedirectAutomationLine::RedirectAutomationLine (stringcr_t name, Redirect& rd, uint32_t port, Session& s,
+RedirectAutomationLine::RedirectAutomationLine (const string & name, Redirect& rd, uint32_t port, Session& s,
                                                
                                                TimeAxisView& tv, ArdourCanvas::Group& parent,
                                                
@@ -54,7 +55,7 @@ RedirectAutomationLine::RedirectAutomationLine (stringcr_t name, Redirect& rd, u
                /*NOTREACHED*/
        }
 
-       pi->plugin().get_parameter_descriptor (_port, desc);
+       pi->plugin()->get_parameter_descriptor (_port, desc);
 
        upper = desc.upper;
        lower = desc.lower;