Further tweak ambiguous latency check
Ignore latency of async ports (Virtual Keyboard in particular), and only consider ardour's own ports.
This commit is contained in:
parent
1ee6b63299
commit
4420f95026
|
@ -1382,9 +1382,14 @@ PortManager::check_for_ambiguous_latency (bool log) const
|
|||
boost::shared_ptr<Ports> plist = ports.reader();
|
||||
for (Ports::iterator pi = plist->begin(); pi != plist->end(); ++pi) {
|
||||
boost::shared_ptr<Port> const& p (pi->second);
|
||||
if (! p->sends_output ()) {
|
||||
if (! p->sends_output () || (p->flags () & IsTerminal)) {
|
||||
continue;
|
||||
}
|
||||
if (boost::dynamic_pointer_cast<AsyncMIDIPort>(p)) {
|
||||
continue;
|
||||
}
|
||||
assert (port_is_mine (p->name ()));
|
||||
|
||||
LatencyRange range;
|
||||
p->get_connected_latency_range (range, true);
|
||||
if (range.min != range.max) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user