sointu/go4k/audio/player.go
Matias Lahti 7a434f69fd 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?
2020-11-08 02:41:42 +02:00

7 lines
92 B
Go

package audio
type Player interface {
Play(buffer []float32) (err error)
Close() error
}