View Issue Details

IDProjectCategoryView StatusLast Update
0002975ardourbugspublic2020-04-19 20:14
ReporterJohanMattsson Assigned Topaul  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version2.8.4 
Summary0002975: [PATCH] Starting jack with latency settings for alsa
DescriptionArdour does not start jack with -I and -O parameters for alsa backend. Here is a patch to enable this feature.
TagsNo tags attached.

Activities

2009-12-27 15:51

 

jacklatency.diff (1,518 bytes)   
Index: gtk2_ardour/engine_dialog.h
===================================================================
--- gtk2_ardour/engine_dialog.h	(revision 6370)
+++ gtk2_ardour/engine_dialog.h	(arbetskopia)
@@ -40,7 +40,9 @@
 	Gtk::SpinButton ports_spinner;
 	Gtk::SpinButton input_channels;
 	Gtk::SpinButton output_channels;
+	Gtk::Adjustment input_latency_adjustment;
 	Gtk::SpinButton input_latency;
+	Gtk::Adjustment output_latency_adjustment;
 	Gtk::SpinButton output_latency;
 	Gtk::Label latency_label;
 
Index: gtk2_ardour/engine_dialog.cc
===================================================================
--- gtk2_ardour/engine_dialog.cc	(revision 6370)
+++ gtk2_ardour/engine_dialog.cc	(arbetskopia)
@@ -46,6 +46,10 @@
 	  priority_spinner (priority_adjustment),
 	  ports_adjustment (128, 8, 1024, 1, 16),
 	  ports_spinner (ports_adjustment),
+	  input_latency_adjustment (0, 0, 99999, 1),
+	  input_latency (input_latency_adjustment),
+	  output_latency_adjustment (0, 0, 99999, 1),
+	  output_latency (output_latency_adjustment),
 	  realtime_button (_("Realtime")),
 	  no_memory_lock_button (_("Do not lock memory")),
 	  unlock_memory_button (_("Unlock memory")),
@@ -533,6 +537,12 @@
 			cmd.push_back ("-s");
 		}
 
+		cmd.push_back ("-I");
+		cmd.push_back (to_string ((uint32_t) 
input_latency_adjustment.get_value(), std::dec));
+
+		cmd.push_back ("-O");
+		cmd.push_back (to_string ((uint32_t) 
output_latency_adjustment.get_value(), std::dec));
+
 	} else if (using_coreaudio) {
 
 #ifdef __APPLE__

jacklatency.diff (1,518 bytes)   

paul

2010-09-17 20:43

administrator   ~0009086

applied to ardour 3.0 rev 7795

system

2020-04-19 20:14

developer   ~0022018

Issue has been closed automatically, by Trigger Close Plugin.
Feel free to re-open with additional information if you think the issue is not resolved.

Issue History

Date Modified Username Field Change
2009-12-27 15:51 JohanMattsson New Issue
2009-12-27 15:51 JohanMattsson File Added: jacklatency.diff
2009-12-28 02:58 cth103 cost => 0.00
2009-12-28 02:58 cth103 Assigned To => paul
2009-12-28 02:58 cth103 Status new => assigned
2009-12-28 02:58 cth103 Summary Starting jack with latency settings for alsa => [PATCH] Starting jack with latency settings for alsa
2010-04-24 10:28 cth103 Category bugs => bugs2
2010-04-24 10:30 cth103 Category bugs2 => bugs
2010-09-17 20:43 paul Note Added: 0009086
2010-09-17 20:43 paul Status assigned => resolved
2010-09-17 20:43 paul Resolution open => fixed
2020-04-19 20:14 system Note Added: 0022018
2020-04-19 20:14 system Status resolved => closed