summaryrefslogtreecommitdiff
path: root/libs/ardour/session_state.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r--libs/ardour/session_state.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc
index aa117f00aa..7d6f44b786 100644
--- a/libs/ardour/session_state.cc
+++ b/libs/ardour/session_state.cc
@@ -293,7 +293,7 @@ Session::first_stage_init (string fullpath, string snapshot_name)
}
int
-Session::second_stage_init (bool with_midi_ui)
+Session::second_stage_init ()
{
AudioFileSource::set_peak_dir (_session_dir->peak_path().to_string());
@@ -307,10 +307,8 @@ Session::second_stage_init (bool with_midi_ui)
return -1;
}
- if (with_midi_ui) {
- if (start_midi_thread ()) {
- return -1;
- }
+ if (start_midi_thread ()) {
+ return -1;
}
setup_midi_machine_control ();