diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-03-12 20:25:09 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-03-12 20:25:09 +0000 |
commit | c7dd29e1676624a54cbdae28218cb5df91ae9837 (patch) | |
tree | 7cbc20d4f05e5f3613760b37fc2c7cb87e5578ac /libs/ardour/io.cc | |
parent | 88d5649511f1d63d832d36bea348f7d8c128c081 (diff) |
properly use and publish private/public port latency values for JACK latency API
git-svn-id: svn://localhost/ardour2/branches/3.0@9130 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/io.cc')
-rw-r--r-- | libs/ardour/io.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/io.cc b/libs/ardour/io.cc index 4cb1cca5b6..875fca7fa0 100644 --- a/libs/ardour/io.cc +++ b/libs/ardour/io.cc @@ -1156,7 +1156,7 @@ IO::latency () const /* io lock not taken - must be protected by other means */ for (PortSet::const_iterator i = _ports.begin(); i != _ports.end(); ++i) { - if ((latency = i->public_latency_range (_direction == Output).max) > max_latency) { + if ((latency = i->private_latency_range (_direction == Output).max) > max_latency) { max_latency = latency; } } |