audio

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Player

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

func NewPlayer

func NewPlayer() (*Player, error)

func (*Player) CurrentStation

func (p *Player) CurrentStation() string

func (*Player) IsCurrentStation

func (p *Player) IsCurrentStation(url string) bool

func (*Player) IsPlaying

func (p *Player) IsPlaying() bool

func (*Player) Pause

func (p *Player) Pause()

func (*Player) Play

func (p *Player) Play(url string, name string) error

func (*Player) Stop

func (p *Player) Stop()

Jump to

Keyboard shortcuts

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