wavs

package
v0.0.0-...-df6b22a Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WAVS = "./wav_audio/woofs"
	BUF  = 128
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Wavs

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

func InitWavs

func InitWavs(noSound bool) *Wavs

func (*Wavs) Close

func (w *Wavs) Close()

func (*Wavs) Durations

func (w *Wavs) Durations() map[string]time.Duration

func (*Wavs) Play

func (w *Wavs) Play(name string)

func (*Wavs) StopAll

func (w *Wavs) StopAll()

Jump to

Keyboard shortcuts

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