Fix race condition in playback

live
noah metz 2024-04-08 11:59:36 -06:00
parent b6d7ee848a
commit 79f8e5aeeb
1 changed files with 1 additions and 0 deletions

@ -83,6 +83,7 @@ func main() {
select {
case data := <- speaker:
copy(output_samples, data)
default:
}
}