mirror of
https://github.com/ivabus/speakersafetyd
synced 2024-11-22 16:25:06 +03:00
block on empty buffer
Signed-off-by: James Calligeros <jcalligeros99@gmail.com>
This commit is contained in:
parent
bc49ea2887
commit
1bb490871f
1 changed files with 1 additions and 0 deletions
|
@ -83,5 +83,6 @@ fn main() {
|
||||||
for i in &mut speakers {
|
for i in &mut speakers {
|
||||||
i.run(&card, &buf);
|
i.run(&card, &buf);
|
||||||
}
|
}
|
||||||
|
buf = [0i16; BUF_SZ];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue