13
0
Fork 0

TL: defaults for session config

This commit is contained in:
Ben Loftis 2024-05-03 11:53:48 -05:00
parent 70dd14bf47
commit 861d297f01
1 changed files with 14 additions and 0 deletions

View File

@ -31,11 +31,21 @@
CONFIG_VARIABLE (bool, use_region_fades, "use-region-fades", true)
CONFIG_VARIABLE (bool, use_transport_fades, "use-transport-fades", true)
CONFIG_VARIABLE (bool, use_monitor_fades, "use-monitor-fades", true)
#ifndef LIVETRAX
CONFIG_VARIABLE (SampleFormat, native_file_data_format, "native-file-data-format", ARDOUR::FormatFloat)
CONFIG_VARIABLE (HeaderFormat, native_file_header_format, "native-file-header-format", ARDOUR::WAVE)
#else
CONFIG_VARIABLE (SampleFormat, native_file_data_format, "native-file-data-format", ARDOUR::FormatInt24)
CONFIG_VARIABLE (HeaderFormat, native_file_header_format, "native-file-header-format", ARDOUR::FLAC)
#endif
CONFIG_VARIABLE (bool, auto_play, "auto-play", false)
CONFIG_VARIABLE (bool, auto_return, "auto-return", false)
#ifndef LIVETRAX
CONFIG_VARIABLE (bool, auto_input, "auto-input", true)
#else
CONFIG_VARIABLE (bool, auto_input, "auto-input", false)
#endif
CONFIG_VARIABLE (bool, triggerbox_overrides_disk_monitoring, "triggerbox-overrides-disk-monitoring", true)
CONFIG_VARIABLE (CueBehavior, cue_behavior, "cue-behavior", FollowCues)
CONFIG_VARIABLE (bool, punch_in, "punch-in", false)
@ -96,4 +106,8 @@ CONFIG_VARIABLE (uint32_t, meterbridge_label_height, "meterbridge-label-height"
/* If the user changes the session default_time_domain, we also stash that in rc_config as a global preference,
where it is used to initialize the session timebase menu during new session creation
*/
#ifndef LIVETRAX
CONFIG_VARIABLE (Temporal::TimeDomain, default_time_domain, "default-time-domain", Temporal::BeatTime)
#else
CONFIG_VARIABLE (Temporal::TimeDomain, default_time_domain, "default-time-domain", Temporal::AudioTime)
#endif