write session file to alternate name before, then rename; auditioner defaults to...
[ardour.git] / libs / ardour / ardour / configuration_vars.h
1 /* IO connection */
2
3 CONFIG_VARIABLE (AutoConnectOption, output_auto_connect, "output-auto-connect", AutoConnectOption (0))
4 CONFIG_VARIABLE (AutoConnectOption, input_auto_connect, "input-auto-connect", AutoConnectOption (0))
5
6 CONFIG_VARIABLE (std::string, auditioner_output_left, "auditioner-output-left", "default")
7 CONFIG_VARIABLE (std::string, auditioner_output_right, "auditioner-output-right", "default")
8
9 /* MIDI and MIDI related */
10
11 CONFIG_VARIABLE (std::string, mtc_port_name, "mtc-port-name", "default")
12 CONFIG_VARIABLE (std::string, mmc_port_name, "mmc-port-name", "default")
13 CONFIG_VARIABLE (std::string, midi_port_name, "midi-port-name", "default")
14 CONFIG_VARIABLE (bool, trace_midi_input, "trace-midi-input", false)
15 CONFIG_VARIABLE (bool, trace_midi_output, "trace-midi-output", false)
16 CONFIG_VARIABLE (bool, send_mtc, "send-mtc", false)
17 CONFIG_VARIABLE (bool, send_mmc, "send-mmc", false)
18 CONFIG_VARIABLE (bool, mmc_control, "mmc-control", false)
19 CONFIG_VARIABLE (bool, midi_feedback, "midi-feedback", false)
20 CONFIG_VARIABLE (bool, midi_control, "midi-control", false)
21
22 /* control surfaces */
23
24 CONFIG_VARIABLE (uint32_t, feedback_interval_ms,  "feedback-interval-ms", 100)
25 CONFIG_VARIABLE (bool, use_tranzport,  "use-tranzport", false)
26
27 /* disk operations */
28
29 CONFIG_VARIABLE (uint32_t, minimum_disk_io_bytes,  "minimum-disk-io-bytes", 1024 * 256)
30 CONFIG_VARIABLE (float, track_buffer_seconds, "track-buffer-seconds", 5.0)
31 CONFIG_VARIABLE (uint32_t, disk_choice_space_threshold,  "disk-choice-space-threshold", 57600000)
32 CONFIG_VARIABLE (SampleFormat, native_file_data_format,  "native-file-data-format", ARDOUR::FormatFloat)
33 CONFIG_VARIABLE (HeaderFormat, native_file_header_format,  "native-file-header-format", ARDOUR::WAVE)
34
35 /* OSC */
36
37 CONFIG_VARIABLE (uint32_t, osc_port, "osc-port", 3819)
38 CONFIG_VARIABLE (bool, use_osc, "use-osc", true)
39 CONFIG_VARIABLE (bool, use_overlap_equivalency, "use-overlap-equivalency", true)
40
41 /* crossfades */
42
43 CONFIG_VARIABLE (CrossfadeModel, xfade_model, "xfade-model", FullCrossfade)
44 CONFIG_VARIABLE (bool, auto_xfade, "auto-xfade", true)
45 CONFIG_VARIABLE (float, short_xfade_seconds, "short-xfade-seconds", 0.015)
46 CONFIG_VARIABLE (bool, xfades_active, "xfades-active", true)
47 CONFIG_VARIABLE (bool, xfades_visible, "xfades-visible", true)
48 CONFIG_VARIABLE (uint32_t, destructive_xfade_msecs,  "destructive-xfade-msecs", 2)
49
50 /* editing related */
51
52 CONFIG_VARIABLE (EditMode, edit_mode, "edit-mode", Slide)
53 CONFIG_VARIABLE (LayerModel, layer_model, "layer-model", MoveAddHigher)
54
55 /* monitoring, mute, solo etc */
56
57 CONFIG_VARIABLE (bool, mute_affects_pre_fader, "mute-affects-pre-fader", true)
58 CONFIG_VARIABLE (bool, mute_affects_post_fader, "mute-affects-post-fader", true)
59 CONFIG_VARIABLE (bool, mute_affects_control_outs, "mute-affects-control-outs", true)
60 CONFIG_VARIABLE (bool, mute_affects_main_outs, "mute-affects-main-outs", true)
61 CONFIG_VARIABLE (MonitorModel, monitoring_model, "monitoring-model", SoftwareMonitoring)
62 CONFIG_VARIABLE (SoloModel, solo_model, "solo-model", InverseMute)
63 CONFIG_VARIABLE (bool, solo_latched, "solo-latched", true)
64 CONFIG_VARIABLE (bool, latched_record_enable, "latched-record-enable", false)
65 CONFIG_VARIABLE (bool, all_safe, "all-safe", false)
66
67 /* click */
68
69 CONFIG_VARIABLE (bool, clicking, "clicking", false)
70 CONFIG_VARIABLE (std::string, click_sound, "click-sound", "")
71 CONFIG_VARIABLE (std::string, click_emphasis_sound, "click-emphasis-sound", "")
72
73 /* transport control and related */
74
75 CONFIG_VARIABLE (bool, auto_play, "auto-play", false)
76 CONFIG_VARIABLE (bool, auto_return, "auto-return", false)
77 CONFIG_VARIABLE (bool, auto_input, "auto-input", true)
78 CONFIG_VARIABLE (bool, punch_in, "punch-in", false)
79 CONFIG_VARIABLE (bool, punch_out, "punch-out", false)
80 CONFIG_VARIABLE (bool, plugins_stop_with_transport, "plugins-stop-with-transport", false)
81 CONFIG_VARIABLE (bool, do_not_record_plugins, "do-not-record-plugins", false)
82 CONFIG_VARIABLE (bool, stop_recording_on_xrun, "stop-recording-on-xrun", false)
83 CONFIG_VARIABLE (bool, stop_at_session_end, "stop-at-session-end", true)
84 CONFIG_VARIABLE (bool, seamless_loop, "seamless-loop", false)
85 CONFIG_VARIABLE (nframes_t, preroll, "preroll", 0)
86 CONFIG_VARIABLE (nframes_t, postroll, "postroll", 0)
87 CONFIG_VARIABLE (float, rf_speed, "rf-speed", 2.0f)
88 CONFIG_VARIABLE (float, shuttle_speed_factor, "shuttle-speed-factor", 1.0f)
89 CONFIG_VARIABLE (float, shuttle_speed_threshold, "shuttle-speed-threshold", 5.0f)
90 CONFIG_VARIABLE (SlaveSource, slave_source, "slave-source", None)
91 CONFIG_VARIABLE (ShuttleBehaviour, shuttle_behaviour, "shuttle-behaviour", Sprung)
92 CONFIG_VARIABLE (ShuttleUnits, shuttle_units, "shuttle-units", Percentage)
93 CONFIG_VARIABLE (bool, quieten_at_speed, "quieten-at-speed", true)
94
95 /* timecode and sync */
96
97 CONFIG_VARIABLE (bool, jack_time_master, "jack-time-master", true)
98 CONFIG_VARIABLE (bool, use_video_sync, "use-video-sync", false)
99 CONFIG_VARIABLE (bool, timecode_source_is_synced, "timecode-source-is-synced", true)
100 CONFIG_VARIABLE (float, smpte_frames_per_second, "smpte-frames-per-second", 30.0f)
101 CONFIG_VARIABLE (float, video_pullup, "video-pullup", 0.0f)
102 CONFIG_VARIABLE (bool,  smpte_drop_frames, "smpte-drop-frames", false)
103
104 /* metering */
105
106 CONFIG_VARIABLE (float, meter_hold, "meter-hold", 100.0f)
107 CONFIG_VARIABLE (float, meter_falloff, "meter-falloff", 0.375f)
108 CONFIG_VARIABLE (nframes_t, over_length_short, "over-length-short", 2)
109 CONFIG_VARIABLE (nframes_t, over_length_long, "over-length-long", 10)
110
111 /* miscellany */
112         
113 CONFIG_VARIABLE (bool, hiding_groups_deactivates_groups, "hiding-groups-deactivates-groups", true)
114 CONFIG_VARIABLE (bool, verify_remove_last_capture, "verify-remove-last-capture", true)
115 CONFIG_VARIABLE (bool, no_new_session_dialog, "no-new-session-dialog", false)
116 CONFIG_VARIABLE (bool, use_vst, "use-vst", true)
117 CONFIG_VARIABLE (uint32_t, subframes_per_frame, "subframes-per-frame", 100)
118 CONFIG_VARIABLE (uint32_t, saved_history_depth, "save-history-depth", 100)
119
120 /* BWAV */
121
122 CONFIG_VARIABLE (string, bwf_country_code, "bwf-country-code", "US")
123 CONFIG_VARIABLE (string, bwf_organization_code, "bwf-organization-code", "US")
124
125 /* these variables have custom set() methods (e.g. path globbing) */
126
127 CONFIG_VARIABLE_SPECIAL(std::string, raid_path, "raid-path", "", path_expand)