diff options
author | Robin Gareus <robin@gareus.org> | 2015-03-07 14:50:02 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-03-07 14:50:02 +0100 |
commit | f88e566576224a2fda9dc5a8899f52f277f537a6 (patch) | |
tree | 4ba323d4a22dae8dc5a17c4d18fd3074bb043dfa /libs/backends/dummy | |
parent | dd6ee69ef85f7840bbd67f3c89507f4c66bb77bd (diff) |
fix copy/edit in 659a8a2
Diffstat (limited to 'libs/backends/dummy')
-rw-r--r-- | libs/backends/dummy/dummy_audiobackend.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/backends/dummy/dummy_audiobackend.cc b/libs/backends/dummy/dummy_audiobackend.cc index 885a85628b..7b5f41bc89 100644 --- a/libs/backends/dummy/dummy_audiobackend.cc +++ b/libs/backends/dummy/dummy_audiobackend.cc @@ -1058,15 +1058,15 @@ DummyAudioBackend::get_latency_range (PortEngine::PortHandle port, bool for_play if (p->is_physical() && p->is_terminal()) { if (p->is_input() && for_playback) { const size_t l_in = _samples_per_period * .25; - r.min += _samples_per_period; - r.max += _samples_per_period; + r.min += l_in; + r.max += l_in; } if (p->is_output() && !for_playback) { /* with 'Loopback' there is exactly once cycle latency, divide it between In + Out; */ const size_t l_in = _samples_per_period * .25; const size_t l_out = _samples_per_period - l_in; - r.min += _samples_per_period; - r.max += _samples_per_period; + r.min += l_out; + r.max += l_out; } } return r; |