mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-23 15:34:52 -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:
@ -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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user