mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-22 23:14:59 -04: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