X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Fsession_configuration_vars.h;h=25625e2948e8dcefe70a021565be5b708627ec43;hb=2e3c25eca709b734297edc3f4487264cbf6c1a58;hp=5330932b2623fb5d2894f7ebfa958fea94182225;hpb=c1b2d8af7a6c036ae78aac00ca8b78f4b2d0d32b;p=ardour.git diff --git a/libs/ardour/ardour/session_configuration_vars.h b/libs/ardour/ardour/session_configuration_vars.h index 5330932b26..25625e2948 100644 --- a/libs/ardour/ardour/session_configuration_vars.h +++ b/libs/ardour/ardour/session_configuration_vars.h @@ -17,14 +17,18 @@ */ -CONFIG_VARIABLE (CrossfadeModel, xfade_model, "xfade-model", FullCrossfade) -CONFIG_VARIABLE (bool, auto_xfade, "auto-xfade", true) -CONFIG_VARIABLE (float, short_xfade_seconds, "short-xfade-seconds", 0.015) -CONFIG_VARIABLE (bool, xfades_active, "xfades-active", true) -CONFIG_VARIABLE (bool, xfades_visible, "xfades-visible", true) +/***************************************************** + DO NOT USE uint8_t or any other type that resolves + to a single char, because the value will be + stored incorrectly when serialized. Use int32_t + instead and ensure that code correctly limits + the value of the variable. +*****************************************************/ + CONFIG_VARIABLE (uint32_t, destructive_xfade_msecs, "destructive-xfade-msecs", 2) CONFIG_VARIABLE (bool, use_region_fades, "use-region-fades", true) -CONFIG_VARIABLE (bool, show_region_fades, "show-region-fades", true) +CONFIG_VARIABLE (bool, use_transport_fades, "use-transport-fades", true) +CONFIG_VARIABLE (bool, use_monitor_fades, "use-monitor-fades", true) 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) CONFIG_VARIABLE (bool, auto_play, "auto-play", false) @@ -33,17 +37,53 @@ CONFIG_VARIABLE (bool, auto_input, "auto-input", true) CONFIG_VARIABLE (bool, punch_in, "punch-in", false) CONFIG_VARIABLE (bool, punch_out, "punch-out", false) CONFIG_VARIABLE (uint32_t, subframes_per_frame, "subframes-per-frame", 100) -CONFIG_VARIABLE (SmpteFormat, smpte_format, "smpte-format", smpte_30) -CONFIG_VARIABLE_SPECIAL(Glib::ustring, raid_path, "raid-path", "", path_expand) -CONFIG_VARIABLE (std::string, bwf_country_code, "bwf-country-code", "US") -CONFIG_VARIABLE (std::string, bwf_organization_code, "bwf-organization-code", "US") -CONFIG_VARIABLE (bool, end_marker_is_free, "end-marker-is-free", true) -CONFIG_VARIABLE (LayerModel, layer_model, "layer-model", MoveAddHigher) -CONFIG_VARIABLE (std::string, auditioner_output_left, "auditioner-output-left", "default") -CONFIG_VARIABLE (std::string, auditioner_output_right, "auditioner-output-right", "default") -CONFIG_VARIABLE (bool, timecode_source_is_synced, "timecode-source-is-synced", true) +CONFIG_VARIABLE (Timecode::TimecodeFormat, timecode_format, "timecode-format", Timecode::timecode_30) +CONFIG_VARIABLE_SPECIAL(std::string, raid_path, "raid-path", "", PBD::path_expand) +CONFIG_VARIABLE_SPECIAL(std::string, audio_search_path, "audio-search-path", "", PBD::search_path_expand) +CONFIG_VARIABLE_SPECIAL(std::string, midi_search_path, "midi-search-path", "", PBD::search_path_expand) +CONFIG_VARIABLE (bool, track_name_number, "track-name-number", false) +CONFIG_VARIABLE (bool, track_name_take, "track-name-take", false) +CONFIG_VARIABLE (std::string, take_name, "take-name", "Take1") CONFIG_VARIABLE (bool, jack_time_master, "jack-time-master", true) CONFIG_VARIABLE (bool, use_video_sync, "use-video-sync", false) CONFIG_VARIABLE (float, video_pullup, "video-pullup", 0.0f) +CONFIG_VARIABLE (bool, external_sync, "external-sync", false) +CONFIG_VARIABLE (InsertMergePolicy, insert_merge_policy, "insert-merge-policy", InsertMergeRelax) +CONFIG_VARIABLE (framecnt_t, timecode_offset, "timecode-offset", 0) +CONFIG_VARIABLE (bool, timecode_offset_negative, "timecode-offset-negative", true) +CONFIG_VARIABLE (std::string, slave_timecode_offset, "slave-timecode-offset", " 00:00:00:00") +CONFIG_VARIABLE (std::string, timecode_generator_offset, "timecode-generator-offset", " 00:00:00:00") +CONFIG_VARIABLE (bool, glue_new_markers_to_bars_and_beats, "glue-new-markers-to-bars-and-beats", false) +CONFIG_VARIABLE (bool, midi_copy_is_fork, "midi-copy-is-fork", false) +CONFIG_VARIABLE (bool, glue_new_regions_to_bars_and_beats, "glue-new-regions-to-bars-and-beats", false) +/* These are GUI-only properties and should not be present in this + * context. There needs to be a new GUI-level session-scoped configuration + * variable header. + */ +CONFIG_VARIABLE (double, wave_amplitude_zoom, "wave-amplitude-zoom", 0.0) +CONFIG_VARIABLE (uint16_t, wave_zoom_factor, "wave-zoom-factor", 2) CONFIG_VARIABLE (bool, show_summary, "show-summary", true) CONFIG_VARIABLE (bool, show_group_tabs, "show-group-tabs", true) +CONFIG_VARIABLE (bool, show_region_fades, "show-region-fades", true) +CONFIG_VARIABLE (bool, use_video_file_fps, "use-video-file-fps", false) +CONFIG_VARIABLE (bool, videotimeline_pullup, "videotimeline-pullup", true) +CONFIG_VARIABLE (bool, show_busses_on_meterbridge, "show-busses-on-meterbridge", false) +CONFIG_VARIABLE (bool, show_master_on_meterbridge, "show-master-on-meterbridge", true) +CONFIG_VARIABLE (bool, show_midi_on_meterbridge, "show-midi-on-meterbridge", true) +CONFIG_VARIABLE (bool, show_rec_on_meterbridge, "show-rec-on-meterbridge", true) +CONFIG_VARIABLE (bool, show_mute_on_meterbridge, "show-mute-on-meterbridge", false) +CONFIG_VARIABLE (bool, show_solo_on_meterbridge, "show-solo-on-meterbridge", false) +CONFIG_VARIABLE (bool, show_monitor_on_meterbridge, "show-monitor-on-meterbridge", false) +CONFIG_VARIABLE (bool, show_name_on_meterbridge, "show-name-on-meterbridge", true) +CONFIG_VARIABLE (uint32_t, meterbridge_label_height, "meterbridge-label-height", 0) + +#ifdef USE_TRACKS_CODE_FEATURES +/* This variable was not discussed with Ardour developers and is considered + weakly conceived. It is also poorly named, since we have "groups" already + present in libardour but this variable has nothing to do with it. There + should have been more discussion about what was required and the best + way to accomplish it. +*/ +CONFIG_VARIABLE (bool, enable_group_edit, "enable-group-edit", false) +/* These are GUI-only properties and should not be present in this context */ +#endif