Skip to content

Commit

Permalink
LatencyMonitor: fix code redundancy
Browse files Browse the repository at this point in the history
  • Loading branch information
baranovmv committed Jul 24, 2024
1 parent 006fca3 commit 2e3cda6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/internal_modules/roc_audio/latency_monitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,6 @@ void LatencyMonitor::reclock(const core::nanoseconds_t playback_timestamp) {
}

bool LatencyMonitor::pre_read_() {
if (fec_reader_) {
latency_metrics_.fec_block_duration =
packet_sample_spec_.stream_timestamp_2_ns(fec_reader_->max_block_duration());
} else {
latency_metrics_.fec_block_duration = 0;
}
tuner_.write_metrics(latency_metrics_, link_metrics_);

if (!tuner_.update_stream()) {
Expand Down

0 comments on commit 2e3cda6

Please sign in to comment.