audio

package
v0.0.0-...-bf13795 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AudioPlayer

type AudioPlayer struct {
	// contains filtered or unexported fields
}

func NewAudioPlayer

func NewAudioPlayer() *AudioPlayer

func (*AudioPlayer) Pause

func (ap *AudioPlayer) Pause()

func (*AudioPlayer) Play

func (ap *AudioPlayer) Play(audioData []byte)

func (*AudioPlayer) Resume

func (ap *AudioPlayer) Resume()

func (*AudioPlayer) Stop

func (ap *AudioPlayer) Stop()

func (*AudioPlayer) WaitForCompletion

func (ap *AudioPlayer) WaitForCompletion()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL