projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f7a5f1
)
set latency range for shadow port.
author
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 20 Jun 2016 16:52:01 +0000
(12:52 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 27 Sep 2016 19:59:30 +0000
(14:59 -0500)
Not tracked if parent/owner port changes latency
libs/ardour/async_midi_port.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/async_midi_port.cc
b/libs/ardour/async_midi_port.cc
index abbe0d900ab57d956de1bc4a7fa41e3cd3ad5645..d79429158596c4a1fe8d8e4a622b4c92b519716c 100644
(file)
--- a/
libs/ardour/async_midi_port.cc
+++ b/
libs/ardour/async_midi_port.cc
@@
-371,5
+371,13
@@
AsyncMIDIPort::add_shadow_port (string const & name, MidiFilter mf)
return -3;
}
+ /* forward on our port latency to the shadow port.
+
+ XXX: need to capture latency changes and forward them too.
+ */
+
+ LatencyRange latency = private_latency_range (false);
+ shadow_port->set_private_latency_range (latency, false);
+
return 0;
}