Synchronize connection-owned audio resources

This commit is contained in:
Brandon McGinty (chatgpt)
2026-08-10 10:28:01 -04:00
committed by Brandon McGinty
parent b407a20132
commit 57961ffc9f
3 changed files with 56 additions and 21 deletions
+13
View File
@@ -0,0 +1,13 @@
package main
import (
"testing"
"git.stormux.org/storm/barnard/gumble/gumbleopenal"
)
func TestWithStreamHandlesAbsentConnectionResource(t *testing.T) {
if (&Barnard{}).withStream(func(*gumbleopenal.Stream) {}) {
t.Fatal("nil connection stream was treated as available")
}
}