mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Remove debug message
This commit is contained in:
parent
9eef690a22
commit
8756341201
1 changed files with 0 additions and 10 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Reference in a new issue