diff options
author | Robin Gareus <robin@gareus.org> | 2017-11-03 19:26:44 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-11-04 07:14:12 +0100 |
commit | 5fdd6ca21ecb5dbc3611b2b1c845fb6c3955b01e (patch) | |
tree | 7b18731afac70ab7af51f52b722960136714e1ec /libs/ardour/route.cc | |
parent | 3eee4fe8a5885541f06c9bf167a7c3ffa1d26e6e (diff) |
Clean up delayline API: don't use 'get_' for accessor method-name
Diffstat (limited to 'libs/ardour/route.cc')
-rw-r--r-- | libs/ardour/route.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index b5311dc4fc..c379158801 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -543,7 +543,7 @@ Route::process_output_buffers (BufferSet& bufs, #if 0 if ((*i) == _delayline) { - latency += _delayline->get_delay (); + latency += _delayline->delay (); } #endif } @@ -4041,7 +4041,7 @@ void Route::apply_latency_compensation () { if (_delayline) { - samplecnt_t old = _delayline->get_delay (); + samplecnt_t old = _delayline->delay (); samplecnt_t play_lat_in = _input->connected_latency (true); samplecnt_t play_lat_out = _output->connected_latency (true); @@ -4057,7 +4057,7 @@ Route::apply_latency_compensation () _delayline->set_delay (latcomp > 0 ? latcomp : 0); - if (old != _delayline->get_delay ()) { + if (old != _delayline->delay ()) { signal_latency_updated (); /* EMIT SIGNAL */ } } |