mirror of
https://github.com/RustAudio/rodio
synced 2024-12-13 05:32:32 +00:00
Remove debug println
This commit is contained in:
parent
112c8c94e5
commit
0050b5b4ba
1 changed files with 0 additions and 1 deletions
|
@ -227,7 +227,6 @@ fn background(rx: Receiver<Command>) {
|
||||||
|
|
||||||
// sleeping so that we get a loop every `FIXED_STEP_MS` millisecond
|
// sleeping so that we get a loop every `FIXED_STEP_MS` millisecond
|
||||||
let time_taken = time::precise_time_ns() - before_updates;
|
let time_taken = time::precise_time_ns() - before_updates;
|
||||||
println!("{:?}", time_taken / 1000);
|
|
||||||
let sleep = FIXED_STEP_NS.saturating_sub(time_taken);
|
let sleep = FIXED_STEP_NS.saturating_sub(time_taken);
|
||||||
thread::park_timeout_ms((sleep / 1000000) as u32);
|
thread::park_timeout_ms((sleep / 1000000) as u32);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue