diff options
author | Robin Gareus <robin@gareus.org> | 2020-04-26 21:34:26 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-04-26 21:34:26 +0200 |
commit | 31c39ed8696658a0b4d4d7dc7e4ab5880bcecd4d (patch) | |
tree | 52b9bbc6b4c3076c2ca06f5d2303756072203222 /libs/ardour/ardour | |
parent | 842e841e0d2479c5012f476655c1481b90fa5d40 (diff) |
Remove duplicate i/o latency calculation
Port and connection changes always imply a latency_callback from
the engine. Worst I/O latency is updated directly in
Session::update_latency() which is called from
AudioEngine::latency_callback.
Explicit subscriptions to route->output()->changed() is not needed
to update the worst I/O latency.
Only set_block_size() needs to to update the I/O latency when
the buffer-size changes.
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r-- | libs/ardour/ardour/session.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index b9c875c95c..ac50c07a29 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -1343,14 +1343,11 @@ private: void update_latency (bool playback); bool update_route_latency (bool reverse, bool apply_to_delayline); - void initialize_latencies (); - void set_worst_io_latencies (); void set_worst_output_latency (); void set_worst_input_latency (); void send_latency_compensation_change (); - void set_worst_io_latencies_x (IOChange, void *); void ensure_buffers (ChanCount howmany = ChanCount::ZERO); |