From f940452bc0d4cd80d5933e86f77f2d3b2774bd3c Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 27 Sep 2012 11:38:13 +0000 Subject: [PATCH] when deciding monitoring state, only consider the session to be in global record state if we are actively recording, not just if we are rec-enabled. this provides correct monitoring when punch in/out are enabled git-svn-id: svn://localhost/ardour2/branches/3.0@13199 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/track.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/track.cc b/libs/ardour/track.cc index 92e51a4250..89ef0241f8 100644 --- a/libs/ardour/track.cc +++ b/libs/ardour/track.cc @@ -832,7 +832,7 @@ Track::monitoring_state () const bool const roll = _session.transport_rolling (); bool const track_rec = _diskstream->record_enabled (); - bool const session_rec = _session.get_record_enabled (); + bool const session_rec = _session.actively_recording (); bool const auto_input = _session.config.get_auto_input (); bool const software_monitor = Config->get_monitoring_model() == SoftwareMonitoring; bool const tape_machine_mode = Config->get_tape_machine_mode ();