View Issue Details

IDProjectCategoryView StatusLast Update
0001896ardourbugspublic2008-11-21 00:04
Reporterhsyl20 Assigned Topaul  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version2.0 
Summary0001896: Jack dummy engine can't be used
DescriptionIf Dummy driver is selected in the AudioSetup tab (Ardour 2.1), Ardour is not able to launch jackd.
Additional InformationI made a patch to solve the bug (see attachment).
TagsNo tags attached.

Activities

2007-09-29 22:23

 

dummy_engine.patch (992 bytes)   
Index: gtk2_ardour/engine_dialog.cc
===================================================================
--- gtk2_ardour/engine_dialog.cc	(révision 2499)
+++ gtk2_ardour/engine_dialog.cc	(copie de travail)
@@ -363,6 +363,7 @@
 	bool using_coreaudio = false;
 	bool using_netjack = false;
 	bool using_ffado = false;
+	bool using_dummy = false;
 
 	/* first, path to jackd */
 
@@ -425,6 +426,9 @@
 	} else if (driver == X_("FFADO")) {
 		using_ffado = true;
 		cmd.push_back ("ffado");
+	} else if (driver == X_("Dummy")) {
+		using_dummy = true;
+		cmd.push_back ("dummy");
 	}
 
 	/* driver arguments */
@@ -448,9 +452,10 @@
 		} else if (str == _("Recording only")) {
 			cmd.push_back ("-C");
 		}
-
-		cmd.push_back ("-n");
-		cmd.push_back (to_string ((uint32_t) floor (periods_spinner.get_value()), std::dec));
+		if (!using_dummy) {
+			cmd.push_back ("-n");
+			cmd.push_back (to_string ((uint32_t) floor (periods_spinner.get_value()), std::dec));
+		}
 	}
 
 	cmd.push_back ("-r");
dummy_engine.patch (992 bytes)   

hsyl20

2008-01-12 13:49

reporter   ~0004648

This issue can be closed now (it is solved in the 2.2 version, maybe before).

paul

2008-01-13 14:19

administrator   ~0004650

see notes.

Issue History

Date Modified Username Field Change
2007-09-29 22:23 hsyl20 New Issue
2007-09-29 22:23 hsyl20 File Added: dummy_engine.patch
2008-01-12 13:49 hsyl20 Note Added: 0004648
2008-01-13 14:19 paul Status new => resolved
2008-01-13 14:19 paul Resolution open => fixed
2008-01-13 14:19 paul Assigned To => paul
2008-01-13 14:19 paul Note Added: 0004650
2008-11-21 00:04 seablade Status resolved => closed