Merge branch 'master' into cairocanvas
[ardour.git] / libs / ardour / ardour / rc_configuration_vars.h
1 /*
2     Copyright (C) 2000-2007 Paul Davis
3
4     This program is free software; you can redistribute it and/or modify
5     it under the terms of the GNU General Public License as published by
6     the Free Software Foundation; either version 2 of the License, or
7     (at your option) any later version.
8
9     This program is distributed in the hope that it will be useful,
10     but WITHOUT ANY WARRANTY; without even the implied warranty of
11     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12     GNU General Public License for more details.
13
14     You should have received a copy of the GNU General Public License
15     along with this program; if not, write to the Free Software
16     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17
18 */
19
20 /*****************************************************
21     DO NOT USE uint8_t or any other type that resolves
22     to a single char, because the value will be
23     stored incorrectly when serialized. Use int32_t
24     instead and ensure that code correctly limits
25     the value of the variable.
26 *****************************************************/
27
28 /* IO connection */
29
30 CONFIG_VARIABLE (bool, auto_connect_standard_busses, "auto-connect-standard-busses", true)
31 CONFIG_VARIABLE (AutoConnectOption, output_auto_connect, "output-auto-connect", AutoConnectMaster)
32 CONFIG_VARIABLE (AutoConnectOption, input_auto_connect, "input-auto-connect", AutoConnectPhysical)
33
34 /* MIDI and MIDI related */
35
36 CONFIG_VARIABLE (bool, trace_midi_input, "trace-midi-input", false)
37 CONFIG_VARIABLE (bool, trace_midi_output, "trace-midi-output", false)
38 CONFIG_VARIABLE (bool, send_mtc, "send-mtc", false)
39 CONFIG_VARIABLE (bool, send_mmc, "send-mmc", true)
40 CONFIG_VARIABLE (bool, send_midi_clock, "send-midi-clock", false)
41 CONFIG_VARIABLE (bool, mmc_control, "mmc-control", true)
42 CONFIG_VARIABLE (bool, midi_feedback, "midi-feedback", false)
43 CONFIG_VARIABLE (int32_t, mmc_receive_device_id, "mmc-receive-device-id", 0x7f)
44 CONFIG_VARIABLE (int32_t, mmc_send_device_id, "mmc-send-device-id", 0)
45 CONFIG_VARIABLE (int32_t, initial_program_change, "initial-program-change", -1)
46 CONFIG_VARIABLE (bool, first_midi_bank_is_zero, "diplay-first-midi-bank-as-zero", false)
47
48 /* Timecode and related */
49
50 CONFIG_VARIABLE (int, mtc_qf_speed_tolerance, "mtc-qf-speed-tolerance", 5)
51 CONFIG_VARIABLE (bool, timecode_sync_frame_rate, "timecode-sync-frame-rate", true)
52 CONFIG_VARIABLE (bool, timecode_source_is_synced, "timecode-source-is-synced", true)
53 CONFIG_VARIABLE (bool, timecode_source_2997, "timecode-source-2997", false)
54 CONFIG_VARIABLE (SyncSource, sync_source, "sync-source", Engine)
55 CONFIG_VARIABLE (std::string, ltc_source_port, "ltc-source-port", "system:capture_1")
56 CONFIG_VARIABLE (bool, send_ltc, "send-ltc", false)
57 CONFIG_VARIABLE (bool, ltc_send_continuously, "ltc-send-continuously", true)
58 CONFIG_VARIABLE (std::string, ltc_output_port, "ltc-output-port", "")
59 CONFIG_VARIABLE (float, ltc_output_volume, "ltc-output-volume", 0.125893)
60
61 /* control surfaces */
62
63 CONFIG_VARIABLE (uint32_t, feedback_interval_ms,  "feedback-interval-ms", 100)
64 CONFIG_VARIABLE (bool, use_tranzport,  "use-tranzport", false)
65 CONFIG_VARIABLE (RemoteModel, remote_model, "remote-model", MixerOrdered)
66
67 /* disk operations */
68
69 CONFIG_VARIABLE (uint32_t, minimum_disk_io_bytes,  "minimum-disk-io-bytes", 1024 * 256)
70 CONFIG_VARIABLE (float, midi_readahead,  "midi-readahead", 1.0)
71 CONFIG_VARIABLE (float, audio_capture_buffer_seconds, "capture-buffer-seconds", 5.0)
72 CONFIG_VARIABLE (float, audio_playback_buffer_seconds, "playback-buffer-seconds", 5.0)
73 CONFIG_VARIABLE (float, midi_track_buffer_seconds, "midi-track-buffer-seconds", 1.0)
74 CONFIG_VARIABLE (uint32_t, disk_choice_space_threshold,  "disk-choice-space-threshold", 57600000)
75 CONFIG_VARIABLE (bool, auto_analyse_audio, "auto-analyse-audio", false)
76
77 /* OSC */
78
79 CONFIG_VARIABLE (uint32_t, osc_port, "osc-port", 3819)
80 CONFIG_VARIABLE (bool, use_osc, "use-osc", false)
81
82 /* editing related */
83
84 CONFIG_VARIABLE (EditMode, edit_mode, "edit-mode", Slide)
85 CONFIG_VARIABLE (bool, link_region_and_track_selection, "link-region-and-track-selection", false)
86 CONFIG_VARIABLE (bool, link_editor_and_mixer_selection, "link-editor-and-mixer-selection", false)
87 CONFIG_VARIABLE (std::string, keyboard_layout_name, "keyboard-layout-name", "ansi")
88 CONFIG_VARIABLE (bool, automation_follows_regions, "automation-follows-regions", true)
89 CONFIG_VARIABLE (bool, region_boundaries_from_selected_tracks, "region-boundaries-from-selected-tracks", true)
90 CONFIG_VARIABLE (bool, region_boundaries_from_onscreen_tracks, "region-boundaries-from-onscreen_tracks", true)
91 CONFIG_VARIABLE (bool, autoscroll_editor, "autoscroll-editor", true)
92
93 /* monitoring, mute, solo etc */
94
95 CONFIG_VARIABLE (bool, mute_affects_pre_fader, "mute-affects-pre-fader", true)
96 CONFIG_VARIABLE (bool, mute_affects_post_fader, "mute-affects-post-fader", true)
97 CONFIG_VARIABLE (bool, mute_affects_control_outs, "mute-affects-control-outs", true)
98 CONFIG_VARIABLE (bool, mute_affects_main_outs, "mute-affects-main-outs", true)
99 CONFIG_VARIABLE (MonitorModel, monitoring_model, "monitoring-model", ExternalMonitoring)
100 CONFIG_VARIABLE (ListenPosition, listen_position, "listen-position", AfterFaderListen)
101 CONFIG_VARIABLE (PFLPosition, pfl_position, "pfl-position", PFLFromAfterProcessors)
102 CONFIG_VARIABLE (AFLPosition, afl_position, "afl-position", AFLFromAfterProcessors)
103 CONFIG_VARIABLE (bool, use_monitor_bus, "use-monitor-bus", false)
104
105 CONFIG_VARIABLE (bool, solo_control_is_listen_control, "solo-control-is-listen-control", false)
106 CONFIG_VARIABLE (bool, exclusive_solo, "exclusive-solo", false)
107 CONFIG_VARIABLE (bool, latched_record_enable, "latched-record-enable", false)
108 CONFIG_VARIABLE (bool, all_safe, "all-safe", false)
109 CONFIG_VARIABLE (bool, show_solo_mutes, "show-solo-mutes", true)
110 CONFIG_VARIABLE (bool, solo_mute_override, "solo-mute-override", false)
111 CONFIG_VARIABLE (bool, tape_machine_mode, "tape-machine-mode", false)
112 CONFIG_VARIABLE (gain_t, solo_mute_gain, "solo-mute-gain", 0.0)
113 CONFIG_VARIABLE (std::string, monitor_bus_preferred_bundle, "monitor-bus-preferred-bundle", "")
114 CONFIG_VARIABLE (bool, quieten_at_speed, "quieten-at-speed", true)
115
116 CONFIG_VARIABLE (bool, link_send_and_route_panner, "link-send-and-route-panner", true)
117 CONFIG_VARIABLE (std::string, midi_audition_synth_uri, "midi-audition-synth-uri", "https://community.ardour.org/node/7596")
118
119 /* click */
120
121 CONFIG_VARIABLE (bool, clicking, "clicking", false)
122 CONFIG_VARIABLE (std::string, click_sound, "click-sound", "")
123 CONFIG_VARIABLE (std::string, click_emphasis_sound, "click-emphasis-sound", "")
124 CONFIG_VARIABLE (gain_t, click_gain, "click-gain", 1.0)
125
126 /* transport control and related */
127
128 /** if true, we call Processor::flush() on all processors when the transport is stopped.
129  *  Note that processors are still run when the transport is not moving.
130  */
131 CONFIG_VARIABLE (bool, plugins_stop_with_transport, "plugins-stop-with-transport", false)
132 CONFIG_VARIABLE (bool, stop_recording_on_xrun, "stop-recording-on-xrun", false)
133 CONFIG_VARIABLE (bool, create_xrun_marker, "create-xrun-marker", true)
134 CONFIG_VARIABLE (bool, stop_at_session_end, "stop-at-session-end", false)
135 CONFIG_VARIABLE (bool, seamless_loop, "seamless-loop", false)
136 CONFIG_VARIABLE (framecnt_t, preroll, "preroll", 0)
137 CONFIG_VARIABLE (framecnt_t, postroll, "postroll", 0)
138 CONFIG_VARIABLE (float, rf_speed, "rf-speed", 2.0f)
139 CONFIG_VARIABLE (float, shuttle_speed_factor, "shuttle-speed-factor", 1.0f)
140 CONFIG_VARIABLE (float, shuttle_speed_threshold, "shuttle-speed-threshold", 5.0f)
141 CONFIG_VARIABLE (ShuttleBehaviour, shuttle_behaviour, "shuttle-behaviour", Sprung)
142 CONFIG_VARIABLE (ShuttleUnits, shuttle_units, "shuttle-units", Percentage)
143 CONFIG_VARIABLE (bool, primary_clock_delta_edit_cursor, "primary-clock-delta-edit-cursor", false)
144 CONFIG_VARIABLE (bool, secondary_clock_delta_edit_cursor, "secondary-clock-delta-edit-cursor", false)
145 CONFIG_VARIABLE (bool, show_track_meters, "show-track-meters", true)
146 CONFIG_VARIABLE (bool, locate_while_waiting_for_sync, "locate-while-waiting-for-sync", false)
147 CONFIG_VARIABLE (bool, disable_disarm_during_roll, "disable-disarm-during-roll", false)
148 CONFIG_VARIABLE (bool, always_play_range, "always-play-range", false)
149 CONFIG_VARIABLE (bool, super_rapid_clock_update, "super-rapid-clock-update", false)
150
151 /* metering */
152
153 CONFIG_VARIABLE (float, meter_hold, "meter-hold", 100.0f)
154 CONFIG_VARIABLE (float, meter_falloff, "meter-falloff", 13.3f)
155 CONFIG_VARIABLE (VUMeterStandard, meter_vu_standard, "meter-vu-standard", MeteringVUstandard)
156 CONFIG_VARIABLE (MeterLineUp, meter_line_up_level, "meter-line-up-level", MeteringLineUp18)
157 CONFIG_VARIABLE (MeterLineUp, meter_line_up_din, "meter-line-up-din", MeteringLineUp15)
158 CONFIG_VARIABLE (float, meter_peak, "meter-peak", 0.0f)
159 CONFIG_VARIABLE (bool, meter_style_led, "meter-style-led", true)
160 CONFIG_VARIABLE (bool, show_editor_meter, "show-editor-meter", true)
161 CONFIG_VARIABLE (double, waveform_clip_level, "waveform-clip-level", -0.0933967) /* units of dB */
162
163 /* miscellany */
164
165 CONFIG_VARIABLE (std::string, auditioner_output_left, "auditioner-output-left", "default")
166 CONFIG_VARIABLE (std::string, auditioner_output_right, "auditioner-output-right", "default")
167 CONFIG_VARIABLE (bool, replicate_missing_region_channels, "replicate-missing-region-channels", false)
168 CONFIG_VARIABLE (bool, hiding_groups_deactivates_groups, "hiding-groups-deactivates-groups", true)
169 CONFIG_VARIABLE (bool, verify_remove_last_capture, "verify-remove-last-capture", true)
170 CONFIG_VARIABLE (bool, no_new_session_dialog, "no-new-session-dialog", false)
171 CONFIG_VARIABLE (bool, use_windows_vst, "use-windows-vst", true)
172 CONFIG_VARIABLE (bool, use_lxvst, "use-lxvst", true)
173 CONFIG_VARIABLE (bool, save_history, "save-history", true)
174 CONFIG_VARIABLE (int32_t, saved_history_depth, "save-history-depth", 20)
175 CONFIG_VARIABLE (int32_t, history_depth, "history-depth", 20)
176 CONFIG_VARIABLE (bool, use_overlap_equivalency, "use-overlap-equivalency", false)
177 CONFIG_VARIABLE (bool, periodic_safety_backups, "periodic-safety-backups", true)
178 CONFIG_VARIABLE (uint32_t, periodic_safety_backup_interval, "periodic-safety-backup-interval", 120)
179 CONFIG_VARIABLE (float, automation_interval_msecs, "automation-interval-msecs", 30)
180 CONFIG_VARIABLE (bool, only_copy_imported_files, "only-copy-imported-files", false)
181 CONFIG_VARIABLE (bool, keep_tearoffs, "keep-tearoffs", false)
182 CONFIG_VARIABLE (bool, new_plugins_active, "new-plugins-active", true)
183 CONFIG_VARIABLE (std::string, keyboard_layout, "keyboard-layout", "ansi")
184 CONFIG_VARIABLE (std::string, default_bindings, "default-bindings", "ardour")
185 CONFIG_VARIABLE (bool, default_narrow_ms, "default-narrow_ms", false)
186 CONFIG_VARIABLE (bool, name_new_markers, "name-new-markers", false)
187 CONFIG_VARIABLE (bool, rubberbanding_snaps_to_grid, "rubberbanding-snaps-to-grid", false)
188 CONFIG_VARIABLE (long, font_scale, "font-scale", 81920)
189 CONFIG_VARIABLE (std::string, default_session_parent_dir, "default-session-parent-dir", "~")
190 CONFIG_VARIABLE (bool, show_waveforms, "show-waveforms", true)
191 CONFIG_VARIABLE (bool, show_waveforms_while_recording, "show-waveforms-while-recording", true)
192 CONFIG_VARIABLE (WaveformScale, waveform_scale, "waveform-scale", Linear)
193 CONFIG_VARIABLE (WaveformShape, waveform_shape, "waveform-shape", Traditional)
194 CONFIG_VARIABLE (bool, allow_special_bus_removal, "allow-special-bus-removal", false)
195 CONFIG_VARIABLE (int32_t, processor_usage, "processor-usage", -1)
196 CONFIG_VARIABLE (gain_t, max_gain, "max-gain", 2.0) /* +6.0dB */
197 CONFIG_VARIABLE (bool, update_editor_during_summary_drag, "update-editor-during-summary-drag", true)
198 CONFIG_VARIABLE (bool, never_display_periodic_midi, "never-display-periodic-midi", true)
199 CONFIG_VARIABLE (bool, sound_midi_notes, "sound-midi-notes", false)
200 CONFIG_VARIABLE (bool, use_plugin_own_gui, "use-plugin-own-gui", true)
201 CONFIG_VARIABLE (uint32_t, max_recent_sessions, "max-recent-sessions", 10)
202 CONFIG_VARIABLE (double, automation_thinning_factor, "automation-thinning-factor", 20.0)
203 CONFIG_VARIABLE (std::string, freesound_download_dir, "freesound-download-dir", Glib::get_home_dir() + "/Freesound/snd")
204
205 /* denormal management */
206
207 CONFIG_VARIABLE (bool, denormal_protection, "denormal-protection", false)
208 CONFIG_VARIABLE (DenormalModel, denormal_model, "denormal-model", DenormalFTZDAZ)
209
210 /* visibility of various things */
211
212 CONFIG_VARIABLE (bool, show_zoom_tools, "show-zoom-tools", true)
213 CONFIG_VARIABLE (bool, widget_prelight, "widget-prelight", true)
214 CONFIG_VARIABLE (bool, use_tooltips, "use-tooltips", true)
215 CONFIG_VARIABLE (std::string, mixer_strip_visibility, "mixer-strip-visibility", "PhaseInvert,SoloSafe,SoloIsolated,Group,MeterPoint")
216 CONFIG_VARIABLE (bool, allow_non_quarter_pulse, "allow-non-quarter-pulse", false)
217 CONFIG_VARIABLE (bool, show_region_gain, "show-region-gain", false)
218
219 /* web addresses used in the program */
220
221 CONFIG_VARIABLE (std::string, osx_pingback_url, "osx-pingback-url", "http://community.ardour.org/pingback/osx/")
222 CONFIG_VARIABLE (std::string, linux_pingback_url, "linux-pingback-url", "http://community.ardour.org/pingback/linux/")
223 CONFIG_VARIABLE (std::string, tutorial_manual_url, "tutorial-manual-url", "http://ardour.org/flossmanual")
224 CONFIG_VARIABLE (std::string, reference_manual_url, "reference-manual-url", "http://manual.ardour.org/")
225 CONFIG_VARIABLE (std::string, updates_url, "updates-url", "http://ardour.org/whatsnew.html")
226 CONFIG_VARIABLE (std::string, donate_url, "donate-url", "http://ardour.org/donate")
227
228 /* video timeline configuration */
229 CONFIG_VARIABLE (bool, video_advanced_setup, "video-advanced-setup", false)
230 CONFIG_VARIABLE (std::string, video_server_url, "video-server-url", "http://localhost:1554")
231 CONFIG_VARIABLE (std::string, video_server_docroot, "video-server-docroot", "/")
232 CONFIG_VARIABLE (bool, show_video_export_info, "show-video-export-info", true)
233 CONFIG_VARIABLE (bool, show_video_server_dialog, "show-video-server-dialog", false)