13
0

remove #ifdef'ed out initialization from session.cc (possible rebase leftover, but redundant no matter the origin

This commit is contained in:
Paul Davis 2021-03-27 16:23:58 -06:00
parent bcca1ad289
commit 8d67be784a

View File

@ -332,150 +332,6 @@ Session::Session (AudioEngine &eng,
g_atomic_int_set (&_seek_counter, 0);
g_atomic_int_set (&_butler_seek_counter, 0);
#if 0
_bounce_processing_active = false;
waiting_for_sync_offset = false;
_base_sample_rate = 0;
_nominal_sample_rate = 0;
_current_sample_rate = 0;
_record_status = Disabled;
_transport_sample = 0;
_seek_counter = 0;
_session_range_location = 0;
_session_range_is_free = true;
_silent = false;
_remaining_latency_preroll = 0;
_engine_speed = 1.0;
_transport_speed = 0;
_default_transport_speed = 1.0;
_signalled_varispeed = 0;
auto_play_legal = false;
_requested_return_sample = -1;
current_block_size = 0;
_worst_output_latency = 0;
_worst_input_latency = 0;
_worst_route_latency = 0;
_send_latency_changes = 0;
_have_captured = false;
_non_soloed_outs_muted = false;
_listening = false;
_listen_cnt = 0;
_solo_isolated_cnt = 0;
_writable = false;
_under_nsm_control = false;
_xrun_count = 0;
master_wait_end = 0;
post_export_sync = false;
post_export_position = 0;
_exporting = false;
_export_rolling = false;
_realtime_export = false;
_region_export = false;
_export_preroll = 0;
_pre_export_mmc_enabled = false;
_name = snapshot_name;
_is_new = true;
_send_qf_mtc = false;
_pframes_since_last_mtc = 0;
play_loop = false;
loop_changing = false;
last_loopend = 0;
_session_dir = new SessionDirectory (fullpath);
_current_snapshot_name = snapshot_name;
state_tree = 0;
state_was_pending = false;
_state_of_the_state = StateOfTheState (CannotSave | InitialConnecting | Loading);
_suspend_save = 0;
_save_queued = false;
_save_queued_pending = false;
_last_roll_location = 0;
_last_roll_or_reversal_location = 0;
_last_record_location = 0;
pending_auto_loop = false;
lua = lua_newstate (&PBD::ReallocPool::lalloc, &_mempool);
_n_lua_scripts = 0;
_butler = new Butler (*this);
_transport_fsm = new TransportFSM (*this);
_post_transport_work = 0;
_locations = new Locations (*this);
_ignore_skips_updates = false;
_rt_thread_active = false;
_rt_emit_pending = false;
_ac_thread_active = 0;
_latency_recompute_pending = 0;
step_speed = 0;
outbound_mtc_timecode_frame = 0;
next_quarter_frame_to_send = -1;
_samples_per_timecode_frame = 0;
_frames_per_hour = 0;
_timecode_frames_per_hour = 0;
last_timecode_valid = false;
last_timecode_when = 0;
_send_timecode_update = false;
ltc_encoder = 0;
ltc_enc_buf= 0;
ltc_buf_off = 0;
ltc_buf_len = 0;
ltc_speed = 0;
ltc_enc_byte = 0;
ltc_enc_pos = 0;
ltc_enc_cnt = 0;
ltc_enc_off = 0;
restarting = false;
ltc_prev_cycle = 0;
ltc_timecode_offset = 0;
ltc_timecode_negative_offset = false;
midi_control_ui = 0;
_punch_or_loop = NoConstraint;
current_usecs_per_track = 1000;
_all_route_group = new RouteGroup (*this, "all");
_adding_routes_in_progress = false;
_reconnecting_routes_in_progress = false;
_route_deletion_in_progress = false;
_track_number_decimals= 1;
default_fade_steepness = 0;
default_fade_msecs = 0;
_total_free_4k_blocks = 0;
_total_free_4k_blocks_uncertain = false;
no_questions_about_missing_files = false;
_playback_load = 0;
_capture_load = 0;
_bundle_xml_node = 0;
_current_trans = 0;
_clicking = false;
_click_rec_only = false;
click_data = 0;
click_emphasis_data = 0;
click_length = 0;
click_emphasis_length = 0;
_clicks_cleared = 0;
_count_in_samples = 0;
_play_range = false;
_range_selection = -1,-1;
_object_selection = -1,-1;
_preroll_record_trim_len = 0;
_count_in_once = false;
main_outs = 0;
first_file_data_format_reset = true;
first_file_header_format_reset = true;
have_looped = false;
_have_rec_enabled_track = false;
_have_rec_disabled_track = true;
_step_editors = 0;
_suspend_timecode_transmission = 0;
_speakers = new Speakers;
_ignore_route_processor_changes = 0;
_ignored_a_processor_change = 0;
midi_clock = 0;
_scene_changer = 0;
_midi_ports = 0;
_mmc = 0;
_vca_manager = new VCAManager (*this);
_selection = new CoreSelection (*this);
_global_locate_pending = false;
_had_destructive_tracks = false;
#endif
created_with = string_compose ("%1 %2", PROGRAM_NAME, revision);
pthread_mutex_init (&_rt_emit_mutex, 0);