Ardour  9.0-pre0-582-g084a23a80d
session_configuration_vars.inc.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2009-2012 Carl Hetherington <carl@carlh.net>
3  * Copyright (C) 2009-2017 Paul Davis <paul@linuxaudiosystems.com>
4  * Copyright (C) 2009 Hans Baier <hansfbaier@googlemail.com>
5  * Copyright (C) 2012-2019 Robin Gareus <robin@gareus.org>
6  * Copyright (C) 2012 Ben Loftis <ben@harrisonconsoles.com>
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License along
19  * with this program; if not, write to the Free Software Foundation, Inc.,
20  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21  */
22 
23 /*****************************************************
24  DO NOT USE uint8_t or any other type that resolves
25  to a single char, because the value will be
26  stored incorrectly when serialized. Use int32_t
27  instead and ensure that code correctly limits
28  the value of the variable.
29 *****************************************************/
30 
31 CONFIG_VARIABLE (bool, use_region_fades, "use-region-fades", true)
32 CONFIG_VARIABLE (bool, use_transport_fades, "use-transport-fades", true)
33 CONFIG_VARIABLE (bool, use_monitor_fades, "use-monitor-fades", true)
34 CONFIG_VARIABLE (SampleFormat, native_file_data_format, "native-file-data-format", ARDOUR::FormatFloat)
35 CONFIG_VARIABLE (HeaderFormat, native_file_header_format, "native-file-header-format", ARDOUR::RF64_WAV)
36 CONFIG_VARIABLE (bool, auto_play, "auto-play", false)
37 CONFIG_VARIABLE (bool, auto_return, "auto-return", false)
38 CONFIG_VARIABLE (bool, auto_input, "auto-input", true)
39 CONFIG_VARIABLE (bool, triggerbox_overrides_disk_monitoring, "triggerbox-overrides-disk-monitoring", true)
40 CONFIG_VARIABLE (CueBehavior, cue_behavior, "cue-behavior", FollowCues)
41 CONFIG_VARIABLE (bool, punch_in, "punch-in", false)
42 CONFIG_VARIABLE (bool, punch_out, "punch-out", false)
43 CONFIG_VARIABLE (bool, count_in, "count-in", false)
44 CONFIG_VARIABLE (MonitorChoice, session_monitoring, "session-monitoring", MonitorAuto)
45 CONFIG_VARIABLE (RecordMode, record_mode, "record-mode", RecLayered)
46 CONFIG_VARIABLE (bool, draw_opaque_midi_regions, "draw-opaque-midi_regions", false)
47 CONFIG_VARIABLE (uint32_t, subframes_per_frame, "subframes-per-frame", 100)
48 CONFIG_VARIABLE (Timecode::TimecodeFormat, timecode_format, "timecode-format", Timecode::timecode_30)
49 CONFIG_VARIABLE (samplecnt_t, minitimeline_span, "minitimeline-span", 120) // seconds
50 CONFIG_VARIABLE_SPECIAL(std::string, raid_path, "raid-path", "", PBD::path_expand)
51 CONFIG_VARIABLE_SPECIAL(std::string, audio_search_path, "audio-search-path", "", PBD::search_path_expand)
52 CONFIG_VARIABLE_SPECIAL(std::string, midi_search_path, "midi-search-path", "", PBD::search_path_expand)
53 CONFIG_VARIABLE (bool, track_name_number, "track-name-number", false)
54 CONFIG_VARIABLE (bool, track_name_take, "track-name-take", true)
55 CONFIG_VARIABLE (std::string, take_name, "take-name", "Take1")
56 CONFIG_VARIABLE (bool, jack_time_master, "jack-time-master", true)
57 CONFIG_VARIABLE (bool, use_video_sync, "use-video-sync", false)
58 CONFIG_VARIABLE (float, video_pullup, "video-pullup", 0.0f)
59 CONFIG_VARIABLE (bool, external_sync, "external-sync", false)
60 CONFIG_VARIABLE (InsertMergePolicy, insert_merge_policy, "insert-merge-policy", InsertMergeRelax)
61 CONFIG_VARIABLE (samplecnt_t, timecode_offset, "timecode-offset", 0)
62 CONFIG_VARIABLE (bool, timecode_offset_negative, "timecode-offset-negative", true)
63 CONFIG_VARIABLE (std::string, slave_timecode_offset, "slave-timecode-offset", " 00:00:00:00")
64 CONFIG_VARIABLE (std::string, timecode_generator_offset, "timecode-generator-offset", " 00:00:00:00")
65 CONFIG_VARIABLE (bool, midi_copy_is_fork, "midi-copy-is-fork", true)
66 CONFIG_VARIABLE (bool, tracks_follow_session_time, "tracks-follow-session-time", false)
67 CONFIG_VARIABLE (bool, realtime_export, "realtime-export", false)
68 CONFIG_VARIABLE (bool, use_surround_master, "use-surround-master", false)
69 
70 /* Video-settings are saved with the session and belong to the session.
71  * headless ardour could remote control xjadeo for example.
72  */
73 CONFIG_VARIABLE (bool, use_video_file_fps, "use-video-file-fps", false)
74 CONFIG_VARIABLE (bool, videotimeline_pullup, "videotimeline-pullup", true)
75 
76 /* These are GUI-only properties and should not be present in this
77  * context. There needs to be a new GUI-level session-scoped configuration
78  * variable header.
79  */
80 CONFIG_VARIABLE (double, wave_amplitude_zoom, "wave-amplitude-zoom", 0.0)
81 CONFIG_VARIABLE (uint16_t, wave_zoom_factor, "wave-zoom-factor", 2)
82 CONFIG_VARIABLE (bool, show_summary, "show-summary", true)
83 CONFIG_VARIABLE (bool, show_group_tabs, "show-group-tabs", true)
84 CONFIG_VARIABLE (bool, show_region_fades, "show-region-fades", true)
85 CONFIG_VARIABLE (bool, show_busses_on_meterbridge, "show-busses-on-meterbridge", false)
86 CONFIG_VARIABLE (bool, show_master_on_meterbridge, "show-master-on-meterbridge", true)
87 CONFIG_VARIABLE (bool, show_midi_on_meterbridge, "show-midi-on-meterbridge", true)
88 CONFIG_VARIABLE (bool, show_rec_on_meterbridge, "show-rec-on-meterbridge", true)
89 CONFIG_VARIABLE (bool, show_mute_on_meterbridge, "show-mute-on-meterbridge", false)
90 CONFIG_VARIABLE (bool, show_solo_on_meterbridge, "show-solo-on-meterbridge", false)
91 CONFIG_VARIABLE (bool, show_monitor_on_meterbridge, "show-monitor-on-meterbridge", false)
92 CONFIG_VARIABLE (bool, show_name_on_meterbridge, "show-name-on-meterbridge", true)
93 CONFIG_VARIABLE (bool, show_fader_on_meterbridge, "show-fader-on-meterbridge", false)
94 CONFIG_VARIABLE (uint32_t, meterbridge_label_height, "meterbridge-label-height", 0)
95 CONFIG_VARIABLE (bool, show_master_bus_comment_on_load, "show-master-bus-comment-on-load", false)
96 
97 /* If the user changes the session default_time_domain, we also stash that in rc_config as a global preference,
98  where it is used to initialize the session timebase menu during new session creation
99 */
100 CONFIG_VARIABLE (Temporal::TimeDomain, default_time_domain, "default-time-domain", Temporal::BeatTime)
GtkImageIconNameData name
Definition: gtkimage.h:6
void session(lua_State *L)
PBD::PropertyDescriptor< bool > external
PBD::PropertyDescriptor< bool > region
PBD::PropertyDescriptor< bool > opaque
@ InsertMergeRelax
we just don't care about overlaps
Temporal::samplecnt_t samplecnt_t
void load(const std::string &filename)
Definition: axis_view.h:42
std::string path_expand(std::string path)
std::string search_path_expand(std::string path)
Definition: time.h:28
TimecodeFormat
Definition: time.h:38
@ timecode_30
Definition: time.h:47
#define CONFIG_VARIABLE_SPECIAL(Type, var, name, value, mutator)
CONFIG_VARIABLE(double, midi_clock_resolution, "midi-clock-resolution", 1.) CONFIG_VARIABLE(uint32_t
gint height
Definition: xcursors.h:1