mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
yet another meter+monitoring detail:
"explicit Monitor DISK" + "Transport Stop" + "not track rec-en" -> meter is always zero
This commit is contained in:
parent
ebcb1ffe7b
commit
f842e8af23
1 changed files with 10 additions and 3 deletions
|
|
@ -414,12 +414,19 @@ Track::no_roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame,
|
||||||
bool const auto_input = _session.config.get_auto_input ();
|
bool const auto_input = _session.config.get_auto_input ();
|
||||||
bool const software_monitor = Config->get_monitoring_model() == SoftwareMonitoring;
|
bool const software_monitor = Config->get_monitoring_model() == SoftwareMonitoring;
|
||||||
bool const tape_machine_mode = Config->get_tape_machine_mode ();
|
bool const tape_machine_mode = Config->get_tape_machine_mode ();
|
||||||
|
bool no_meter = false;
|
||||||
|
|
||||||
if (!software_monitor && tape_machine_mode && !track_rec) {
|
if (_monitoring & MonitorDisk && !track_rec) {
|
||||||
_meter->reset();
|
no_meter=true;
|
||||||
_input->process_input (boost::shared_ptr<Processor>(), start_frame, end_frame, nframes);
|
}
|
||||||
|
else if (!software_monitor && tape_machine_mode && !track_rec) {
|
||||||
|
no_meter=true;
|
||||||
}
|
}
|
||||||
else if (!software_monitor && !tape_machine_mode && !track_rec && !auto_input) {
|
else if (!software_monitor && !tape_machine_mode && !track_rec && !auto_input) {
|
||||||
|
no_meter=true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (no_meter) {
|
||||||
_meter->reset();
|
_meter->reset();
|
||||||
_input->process_input (boost::shared_ptr<Processor>(), start_frame, end_frame, nframes);
|
_input->process_input (boost::shared_ptr<Processor>(), start_frame, end_frame, nframes);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue