summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2006-12-15 19:40:10 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2006-12-15 19:40:10 +0000
commit7e845c53ab95f4fd33c8327bf3dff9bdb82a7a18 (patch)
tree21948926eb794efa7bb48111deccb64291899883 /gtk2_ardour/ardour_ui.cc
parente80214b71d9e38be55290cb594616a42d1e8c5e7 (diff)
write session file to alternate name before, then rename; auditioner defaults to first 2 physical outputs; engine started before loading session, always; clean up handling off input connections and so forth during startup (faster! a bitcd ..); notice new locates while doing older ones; stop engine at shutdown first, not later
git-svn-id: svn://localhost/ardour2/trunk@1214 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_ui.cc')
-rw-r--r--gtk2_ardour/ardour_ui.cc11
1 files changed, 3 insertions, 8 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc
index 74eb36a814..de7dce1500 100644
--- a/gtk2_ardour/ardour_ui.cc
+++ b/gtk2_ardour/ardour_ui.cc
@@ -353,14 +353,7 @@ ARDOUR_UI::save_ardour_state ()
void
ARDOUR_UI::startup ()
{
- /* Once the UI is up and running, start the audio engine. Doing
- this before the UI is up and running can cause problems
- when not running with SCHED_FIFO, because the amount of
- CPU and disk work needed to get the UI started can interfere
- with the scheduling of the audio thread.
- */
-
- Glib::signal_idle().connect (mem_fun(*this, &ARDOUR_UI::start_engine));
+ // relax
}
void
@@ -388,6 +381,8 @@ If you still wish to quit, please use the\n\n\
break;
}
}
+
+ engine->stop (true);
Config->save_state();
quit ();
}