Add EngineControl::stop_engine method to show errors when stopping engine
authorTim Mayberry <mojofunk@gmail.com>
Sat, 3 Oct 2015 04:09:45 +0000 (14:09 +1000)
committerTim Mayberry <mojofunk@gmail.com>
Tue, 6 Oct 2015 03:29:57 +0000 (13:29 +1000)
commitcd4dd0893153729e5ffbfcfeeac6530c0025aee7
treeaddd81ddcd5eb77fcd38232adccd8abf536f0215
parent1195aeb64e785aa9554e2ee3fb7e1b5092ec9bb7
Add EngineControl::stop_engine method to show errors when stopping engine

This replaces using ARDOUR_UI::disconnect_from_session which is only used by the
EngineControl class. ARDOUR_UI::disconnect_from_session also disconnects from
the AudioEngine::Halted signal which seems unnecessary as Halted is not emitted
when stopping the engine and calling update_sample_rate() which is already
handled when the AudioEngine::Stopped signal is emitted.
gtk2_ardour/engine_dialog.cc
gtk2_ardour/engine_dialog.h