From 1bb490871f0509af1a31f0f396a261651bc6e764 Mon Sep 17 00:00:00 2001 From: James Calligeros Date: Tue, 14 Feb 2023 22:37:47 +1000 Subject: [PATCH] block on empty buffer Signed-off-by: James Calligeros --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 7483b28..98c297b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -83,5 +83,6 @@ fn main() { for i in &mut speakers { i.run(&card, &buf); } + buf = [0i16; BUF_SZ]; } }