diff options
author | Carl Hetherington <carl@carlh.net> | 2011-12-27 00:48:31 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-12-27 00:48:31 +0000 |
commit | dfc307801307f21d1db5db2395bce5cb1bc95c84 (patch) | |
tree | 26acacad7b5c61882907df1d91cc18d6bce3a75c /libs/ardour/session_state.cc | |
parent | fd48e72fc212a0f7a2cb23a7c39ccc0f76cb7439 (diff) |
Add configure option to raise a FP exception when a denormal
is detected.
git-svn-id: svn://localhost/ardour2/branches/3.0@11086 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r-- | libs/ardour/session_state.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index 7d6f44b786..aa117f00aa 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 () +Session::second_stage_init (bool with_midi_ui) { AudioFileSource::set_peak_dir (_session_dir->peak_path().to_string()); @@ -307,8 +307,10 @@ Session::second_stage_init () return -1; } - if (start_midi_thread ()) { - return -1; + if (with_midi_ui) { + if (start_midi_thread ()) { + return -1; + } } setup_midi_machine_control (); |