mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +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 software_monitor = Config->get_monitoring_model() == SoftwareMonitoring;
|
||||
bool const tape_machine_mode = Config->get_tape_machine_mode ();
|
||||
bool no_meter = false;
|
||||
|
||||
if (!software_monitor && tape_machine_mode && !track_rec) {
|
||||
_meter->reset();
|
||||
_input->process_input (boost::shared_ptr<Processor>(), start_frame, end_frame, nframes);
|
||||
if (_monitoring & MonitorDisk && !track_rec) {
|
||||
no_meter=true;
|
||||
}
|
||||
else if (!software_monitor && tape_machine_mode && !track_rec) {
|
||||
no_meter=true;
|
||||
}
|
||||
else if (!software_monitor && !tape_machine_mode && !track_rec && !auto_input) {
|
||||
no_meter=true;
|
||||
}
|
||||
|
||||
if (no_meter) {
|
||||
_meter->reset();
|
||||
_input->process_input (boost::shared_ptr<Processor>(), start_frame, end_frame, nframes);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue