meter-state 17 and 49 + code-comment
This commit is contained in:
parent
562bd6811e
commit
ec63180ef6
@ -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 const tape_machine_mode = Config->get_tape_machine_mode ();
|
||||||
bool no_meter = false;
|
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) {
|
if (!auto_input && !track_rec) {
|
||||||
no_meter=true;
|
no_meter=true;
|
||||||
}
|
}
|
||||||
|
else if (tape_machine_mode && !track_rec && auto_input) {
|
||||||
|
no_meter=true;
|
||||||
|
}
|
||||||
else if (!software_monitor && tape_machine_mode && !track_rec) {
|
else if (!software_monitor && tape_machine_mode && !track_rec) {
|
||||||
no_meter=true;
|
no_meter=true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user