From df188996ecd5d62c334c7fd581e83ee799f1fb03 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 21 Jul 2023 11:10:43 -0600 Subject: [PATCH] session has a default time domain --- libs/ardour/ardour/session_configuration_vars.h | 1 + libs/ardour/session.cc | 2 ++ libs/ardour/session_configuration.cc | 3 +++ 3 files changed, 6 insertions(+) diff --git a/libs/ardour/ardour/session_configuration_vars.h b/libs/ardour/ardour/session_configuration_vars.h index ca0b6cfc3b..2fd290ae5c 100644 --- a/libs/ardour/ardour/session_configuration_vars.h +++ b/libs/ardour/ardour/session_configuration_vars.h @@ -92,3 +92,4 @@ CONFIG_VARIABLE (bool, show_monitor_on_meterbridge, "show-monitor-on-meterbridge CONFIG_VARIABLE (bool, show_name_on_meterbridge, "show-name-on-meterbridge", true) CONFIG_VARIABLE (bool, show_fader_on_meterbridge, "show-fader-on-meterbridge", false) CONFIG_VARIABLE (uint32_t, meterbridge_label_height, "meterbridge-label-height", 0) +CONFIG_VARIABLE (Temporal::TimeDomain, default_time_domain, "default-time-domain", Temporal::AudioTime) diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 53b038a8f0..09718dee42 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -59,6 +59,8 @@ #include "pbd/types_convert.h" #include "pbd/unwind.h" +#include "temporal/types_convert.h" + #include "ardour/amp.h" #include "ardour/analyser.h" #include "ardour/async_midi_port.h" diff --git a/libs/ardour/session_configuration.cc b/libs/ardour/session_configuration.cc index b5e4dae654..cb5c323804 100644 --- a/libs/ardour/session_configuration.cc +++ b/libs/ardour/session_configuration.cc @@ -28,6 +28,9 @@ #include "pbd/file_utils.h" #include "pbd/pathexpand.h" +#include "temporal/types.h" +#include "temporal/types_convert.h" + #include "ardour/types.h" #include "ardour/types_convert.h" #include "ardour/filesystem_paths.h"