meter-state 17 and 49 + code-comment
authorRobin Gareus <robin@gareus.org>
Tue, 16 Jul 2013 21:30:21 +0000 (23:30 +0200)
committerRobin Gareus <robin@gareus.org>
Tue, 16 Jul 2013 21:30:21 +0000 (23:30 +0200)
libs/ardour/track.cc

index 3ad5733320b567898b35dda4dcc6ca9eca0ff825..c6a348ddfb1c4d7963b9a29239672f7323d76129 100644 (file)
@@ -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;
                        }