Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Player ¶
type Player struct { DeezerClient *deezer.Client ReDraw chan struct{} PlayerQueue *PlayerQueue CurrentSong deezer.Song Progress float64 SampleRate beep.SampleRate Streamer beep.StreamSeeker Ctrl *beep.Ctrl Resampler *beep.Resampler Volume *effects.Volume }
func (*Player) SetCurrentSong ¶
type PlayerQueue ¶
func NewPlayerQueue ¶
func NewPlayerQueue(client *deezer.Client) *PlayerQueue
func (*PlayerQueue) AddAlbum ¶
func (self *PlayerQueue) AddAlbum(albums ...deezer.Album)
func (*PlayerQueue) AddArtist ¶
func (self *PlayerQueue) AddArtist(artists ...deezer.Artist)
func (*PlayerQueue) AddSong ¶
func (self *PlayerQueue) AddSong(songs ...deezer.Song)
func (*PlayerQueue) Delete ¶
func (self *PlayerQueue) Delete(index int)
Click to show internal directories.
Click to hide internal directories.