13
0

Fix Latency information of TransportMasterPort ports

PortManager::cycle_start() excludes these ports from being
resampled. They're directly handled by the TSM, outside of
the session.
This commit is contained in:
Robin Gareus 2020-05-07 15:12:26 +02:00
parent 8967df460a
commit 4fa955baf2
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -370,7 +370,7 @@ Port::set_public_latency_range (LatencyRange const& range, bool playback) const
if (_port_handle) {
LatencyRange r (range);
if (externally_connected ()) {
if (externally_connected () && 0 == (_flags & TransportMasterPort)) {
#if 0
r.min *= _speed_ratio;
r.max *= _speed_ratio;
@ -436,7 +436,7 @@ Port::public_latency_range (bool /*playback*/) const
if (_port_handle) {
r = port_engine.get_latency_range (_port_handle, sends_output() ? true : false);
if (externally_connected ()) {
if (externally_connected () && 0 == (_flags & TransportMasterPort)) {
#if 0
r.min /= _speed_ratio;
r.max /= _speed_ratio;
@ -485,7 +485,7 @@ Port::get_connected_latency_range (LatencyRange& range, bool playback) const
if (remote_port) {
lr = port_engine.get_latency_range (remote_port, playback);
if (externally_connected ()) {
if (externally_connected () && 0 == (_flags & TransportMasterPort)) {
#if 0
lr.min /= _speed_ratio;
lr.max /= _speed_ratio;