diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2015-10-03 14:09:45 +1000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2015-10-06 13:29:57 +1000 |
commit | cd4dd0893153729e5ffbfcfeeac6530c0025aee7 (patch) | |
tree | addd81ddcd5eb77fcd38232adccd8abf536f0215 /gtk2_ardour/engine_dialog.h | |
parent | 1195aeb64e785aa9554e2ee3fb7e1b5092ec9bb7 (diff) |
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.
Diffstat (limited to 'gtk2_ardour/engine_dialog.h')
-rw-r--r-- | gtk2_ardour/engine_dialog.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/engine_dialog.h b/gtk2_ardour/engine_dialog.h index ea56b94852..7fc0106b36 100644 --- a/gtk2_ardour/engine_dialog.h +++ b/gtk2_ardour/engine_dialog.h @@ -300,6 +300,7 @@ class EngineControl : public ArdourDialog, public PBD::ScopedConnectionList { void post_push (); void update_sensitivity (); bool start_engine (); + bool stop_engine (); /* latency measurement */ void latency_button_clicked (); |