mirror of
https://github.com/vsariola/sointu.git
synced 2025-06-04 01:28:45 -04:00
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?
This commit is contained in:
parent
9b6249a1a7
commit
7a434f69fd
@ -2,5 +2,5 @@ package audio
|
|||||||
|
|
||||||
type Player interface {
|
type Player interface {
|
||||||
Play(buffer []float32) (err error)
|
Play(buffer []float32) (err error)
|
||||||
Close()
|
Close() error
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user