kvm/internal/audio/api.go

12 lines
324 B
Go

package audio
// StartAudioStreaming launches the in-process audio stream and delivers Opus frames to the provided callback.
func StartAudioStreaming(send func([]byte)) error {
return StartCGOAudioStream(send)
}
// StopAudioStreaming stops the in-process audio stream.
func StopAudioStreaming() {
StopCGOAudioStream()
}