From ec63180ef6c82e25b22a845cc4b99010d81cfc98 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 16 Jul 2013 23:30:21 +0200 Subject: meter-state 17 and 49 + code-comment --- libs/ardour/track.cc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/libs/ardour/track.cc b/libs/ardour/track.cc index 3ad5733320..c6a348ddfb 100644 --- a/libs/ardour/track.cc +++ b/libs/ardour/track.cc @@ -416,9 +416,18 @@ Track::no_roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame, bool const tape_machine_mode = Config->get_tape_machine_mode (); bool no_meter = false; + /* this needs a proper K-map + * and should be separated into a function similar to monitoring_state() + * that also handles roll() states in audio_track.cc, midi_track.cc and route.cc + * + * see http://www.oofus.co.uk/ardour/Ardour3MonitorModesV3.pdf + */ if (!auto_input && !track_rec) { no_meter=true; } + else if (tape_machine_mode && !track_rec && auto_input) { + no_meter=true; + } else if (!software_monitor && tape_machine_mode && !track_rec) { no_meter=true; } -- cgit v1.2.3