mirror of
https://github.com/vsariola/sointu.git
synced 2026-02-15 20:53:17 -05:00
feat(go/audio): implement basic audio output with oto
splitting implementation into a separate package to potentially allow for other sorts of output, too.
This commit is contained in:
6
go4k/audio/player.go
Normal file
6
go4k/audio/player.go
Normal file
@ -0,0 +1,6 @@
|
||||
package audio
|
||||
|
||||
type Player interface {
|
||||
Play(buffer []float32) (err error)
|
||||
Close()
|
||||
}
|
||||
Reference in New Issue
Block a user