Refilling debug print correction

This commit is contained in:
QuantumEntangledAndy committed 2023-05-16 15:45:07 +07:00
1 parent 9473a8ad5d
commit 3b677f9156
1 file changed
+2 -2
+2 -2
View File
@@ -731,8 +731,8 @@ impl NeoMediaSender {
debug!(
"Refilling: {}/{} ({:.2}%)",
self.buffer.buf.len(),
BUFFER_SIZE * 2 / 3,
self.buffer.buf.len() as f32 / (BUFFER_SIZE * 2 / 3) as f32 * 100.0
BUFFER_SIZE / 3,
self.buffer.buf.len() as f32 / (BUFFER_SIZE / 3) as f32 * 100.0
);
} else if !self.refilling && self.inited && self.playing {
self.update_starttime().await?;