Quick and dirty fix for ffado jack options in engine dialog
authorDoug McLain <doug@nostar.net>
Sun, 13 Jan 2008 21:34:20 +0000 (21:34 +0000)
committerDoug McLain <doug@nostar.net>
Sun, 13 Jan 2008 21:34:20 +0000 (21:34 +0000)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2910 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/engine_dialog.cc

index f1abd54437b285bc670eb8e030b5545b141fe57a..74d739e5bb5146c21ff1ccff74ed375588082685 100644 (file)
@@ -428,7 +428,7 @@ EngineControl::build_command_line (vector<string>& cmd)
                cmd.push_back ("netjack");
        } else if (driver == X_("FFADO")) {
                using_ffado = true;
-               cmd.push_back ("ffado");
+               cmd.push_back ("firewire");
        } else if ( driver == X_("Dummy")) {
       using_dummy = true;
       cmd.push_back ("dummy");
@@ -757,6 +757,15 @@ vector<string>
 EngineControl::enumerate_ffado_devices ()
 {
        vector<string> devs;
+       backend_devs.clear ();
+
+       devs.push_back("hw:0");
+       devs.push_back("hw:1");
+       devs.push_back("wh:2");
+
+       backend_devs.push_back("hw:0");
+       backend_devs.push_back("hw:1");
+       backend_devs.push_back("wh:2");
        return devs;
 }
 vector<string>