From 7a434f69fd9dd98a4a5c5b893c47fcbbf6f19027 Mon Sep 17 00:00:00 2001 From: Matias Lahti Date: Sun, 8 Nov 2020 02:41:42 +0200 Subject: [PATCH] fix(go/audio): fix audio.Player interface to have erroring Close() not sure if this is actually required, though? shouldn't we just try to close and disregard errors? --- go4k/audio/player.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go4k/audio/player.go b/go4k/audio/player.go index e5203ee..56a28b8 100644 --- a/go4k/audio/player.go +++ b/go4k/audio/player.go @@ -2,5 +2,5 @@ package audio type Player interface { Play(buffer []float32) (err error) - Close() + Close() error }