sointu/go4k/audio/player.go
Matias Lahti fa772ddd77 feat(go/audio): implement basic audio output with oto
splitting implementation into a separate package to potentially allow for other sorts of output, too.
2020-11-07 19:33:39 +02:00

7 lines
86 B
Go

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