internal

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Media

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

func (*Media) Delete

func (m *Media) Delete()

func (*Media) Length

func (m *Media) Length() time.Duration

type Playback

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

func (*Playback) Stop

func (p *Playback) Stop()

type Player

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

func NewPlayer

func NewPlayer() *Player

func (*Player) Close

func (p *Player) Close()

func (*Player) CreateMedia

func (p *Player) CreateMedia(info audio.MediaInfo) *Media

func (*Player) Play

func (p *Player) Play(media *Media, info audio.PlayInfo) *Playback

Jump to

Keyboard shortcuts

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