node

package
v0.5.32 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	*music.DownloadHandler
	// contains filtered or unexported fields
}

func New

func New(
	cl *client.Client,
	handler client.Handler,
	log client.Logger,
	maxDelay time.Duration,
	col *collection.Collection,
	q *collection.Queue,
	p *player.Player,
) *Handler

func (*Handler) ContinuousSeek

func (h *Handler) ContinuousSeek()

func (*Handler) HandleLatency

func (h *Handler) HandleLatency(d time.Duration)

func (*Handler) HandleMusicStateMessage

func (h *Handler) HandleMusicStateMessage(state client.MusicState) error

func (*Handler) IncreaseVolume

func (h *Handler) IncreaseVolume(v float64)

Jump to

Keyboard shortcuts

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