Fix crash on audio record (time converter segfault wackiness).
[ardour.git] / gtk2_ardour / automation_line.h
index c04f343bcf308842c4c732e2af8efb59195d4953..342b8ba2a0d5c59ab15dbb495f945ad7e0868e02 100644 (file)
@@ -56,7 +56,7 @@ class AutomationLine : public sigc::trackable, public PBD::StatefulThingWithGoin
   public:
        AutomationLine (const string& name, TimeAxisView&, ArdourCanvas::Group&,
                        boost::shared_ptr<ARDOUR::AutomationList>,
-                       const Evoral::TimeConverter<double, nframes_t>& converter);
+                       const Evoral::TimeConverter<double, nframes_t>* converter = 0);
        virtual ~AutomationLine ();
 
        void queue_reset ();
@@ -128,7 +128,7 @@ class AutomationLine : public sigc::trackable, public PBD::StatefulThingWithGoin
        void set_colors();
 
        void modify_point_y (ControlPoint&, double);
-
+       
   protected:
 
        string    _name;