player

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2019 License: GPL-3.0 Imports: 13 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 {
	PaRes        chan bool // pause/resume
	Play         chan bool
	Mute         chan bool
	VolumeUp     chan bool
	VolumeDown   chan bool
	PlayingError chan error
	SongToPlay   string

	IsPlaying  bool
	SongInfo   tag.Metadata
	SongLength int
	Duration   string
	Progress   string
	ErrorMsg   string
	Finished   chan bool
	// contains filtered or unexported fields
}

func NewPlayer

func NewPlayer() *Player

func (*Player) Close added in v1.0.1

func (p *Player) Close()

func (*Player) StartPlayer

func (p *Player) StartPlayer()

Jump to

Keyboard shortcuts

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