fixes for desirable playback when using seamless looping.
[ardour.git] / libs / ardour / track.cc
index 189b315e201b08150313c09efc1b4f26c805c6b1..1426c3926c4f947a52f71ccf0e3e947680d336e0 100644 (file)
@@ -178,7 +178,11 @@ Track::freeze_state() const
 }
 
 Track::RecEnableControl::RecEnableControl (boost::shared_ptr<Track> t)
-       : AutomationControl (t->session(), RecEnableAutomation, boost::shared_ptr<AutomationList>(), X_("recenable"))
+       : AutomationControl (t->session(),
+                            RecEnableAutomation,
+                            ParameterDescriptor(Evoral::Parameter(RecEnableAutomation)),
+                            boost::shared_ptr<AutomationList>(),
+                            X_("recenable"))
        , track (t)
 {
        boost::shared_ptr<AutomationList> gl(new AutomationList(Evoral::Parameter(RecEnableAutomation)));
@@ -947,7 +951,7 @@ Track::monitoring_state () const
                }
        }
 
-       /* NOTREACHED */
+       abort(); /* NOTREACHED */
        return MonitoringSilence;
 }