From 861d297f01022f157b616706d35110b143dece0a Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Fri, 3 May 2024 11:53:48 -0500 Subject: [PATCH] TL: defaults for session config --- libs/ardour/ardour/session_configuration_vars.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/libs/ardour/ardour/session_configuration_vars.h b/libs/ardour/ardour/session_configuration_vars.h index 8fad05df80..e7a2634e08 100644 --- a/libs/ardour/ardour/session_configuration_vars.h +++ b/libs/ardour/ardour/session_configuration_vars.h @@ -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