Add option to reset x-run count on record-start
This commit is contained in:
@@ -156,6 +156,7 @@ CONFIG_VARIABLE (bool, use_click_emphasis, "use-click-emphasis", true)
|
||||
*/
|
||||
CONFIG_VARIABLE (bool, skip_playback, "skip-playback", true)
|
||||
CONFIG_VARIABLE (bool, plugins_stop_with_transport, "plugins-stop-with-transport", false)
|
||||
CONFIG_VARIABLE (bool, recording_resets_xrun_count, "recording-resets-xrun-count,", false)
|
||||
CONFIG_VARIABLE (bool, stop_recording_on_xrun, "stop-recording-on-xrun", false)
|
||||
CONFIG_VARIABLE (bool, create_xrun_marker, "create-xrun-marker", true)
|
||||
CONFIG_VARIABLE (bool, stop_at_session_end, "stop-at-session-end", false)
|
||||
|
||||
@@ -1897,6 +1897,9 @@ Session::enable_record ()
|
||||
_last_record_location = _transport_sample;
|
||||
send_immediate_mmc (MIDI::MachineControlCommand (MIDI::MachineControl::cmdRecordStrobe));
|
||||
|
||||
if (Config->get_recording_resets_xrun_count ()) {
|
||||
reset_xrun_count ();
|
||||
}
|
||||
if (Config->get_monitoring_model() == HardwareMonitoring && config.get_auto_input()) {
|
||||
set_track_monitor_input_status (true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user