mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-30 18:37:40 +01:00
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.
This commit is contained in:
parent
1195aeb64e
commit
cd4dd08931
2 changed files with 17 additions and 5 deletions
|
|
@ -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 ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue