From 87563412013304ea88f4b356f148d78a1f86ffae Mon Sep 17 00:00:00 2001 From: Konstantin Seiler Date: Sun, 2 Feb 2020 11:12:17 +1100 Subject: [PATCH] Remove debug message --- playback/src/player.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/playback/src/player.rs b/playback/src/player.rs index d7df74ff..471dc2ae 100644 --- a/playback/src/player.rs +++ b/playback/src/player.rs @@ -668,7 +668,6 @@ impl Future for PlayerInternal { type Error = (); fn poll(&mut self) -> Poll<(), ()> { - let mut last_printed_stream_position_for_debug = 0; loop { let mut all_futures_completed_or_not_ready = true; @@ -761,15 +760,6 @@ impl Future for PlayerInternal { *stream_position_pcm + (packet.data().len() / 2) as u64; let stream_position_millis = Self::position_pcm_to_ms(*stream_position_pcm); - if stream_position_millis / 1000 != last_printed_stream_position_for_debug { - trace!( - "Stream position: {} ({} seconds)", - *stream_position_pcm, - stream_position_millis / 1000 - ); - last_printed_stream_position_for_debug = stream_position_millis / 1000; - } - let notify_about_position = match *reported_nominal_start_time { None => true, Some(reported_nominal_start_time) => {