sound

package
v0.0.0-...-8b95d60 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnsuportExt = fmt.Errorf("unsuported ext")

Functions

This section is empty.

Types

type Alarm

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

func (*Alarm) Play

func (a *Alarm) Play()

func (*Alarm) PlayWait

func (a *Alarm) PlayWait()

type Player

type Player interface {
	Play()
	PlayWait()
}

func NewAalarm

func NewAalarm(path string) (Player, error)

Jump to

Keyboard shortcuts

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