if using the audio/MIDI setup dialog because there are >1 backends, but the chosen...
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 1 May 2014 16:31:30 +0000 (12:31 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 1 May 2014 16:31:35 +0000 (12:31 -0400)
gtk2_ardour/engine_dialog.cc

index 545413b6ef4e697358b0af1a442c33bf186256d1..715083698940ff8b60113327eff086aaca785b4f 100644 (file)
@@ -1332,6 +1332,13 @@ EngineControl::EngineControl ()
                         backend->set_buffer_size (get_buffer_size());
                 }
 
+                if (start) {
+                        if (ARDOUR::AudioEngine::instance()->start ()) {
+                                error << string_compose (_("Could not start backend engine %1"), backend->name()) << endmsg;
+                                return -1;
+                        }
+                }
+
                 post_push ();
 
                 return 0;