Versions in this module Expand all Collapse all v0 v0.0.1 Oct 12, 2019 Changes in this version + var AUDIO_AESIV = []byte + func CreateCipher(key []byte) cipher.Block + type AudioFile struct + func (a *AudioFile) Read(buf []byte) (int, error) + func (a *AudioFile) Seek(offset int64, whence int) (int64, error) + func (a *AudioFile) Size() uint32 + type AudioFileDecrypter struct + func NewAudioFileDecrypter() *AudioFileDecrypter + func (afd *AudioFileDecrypter) DecryptAudioWithBlock(index int, block cipher.Block, ciphertext []byte, plaintext []byte) []byte + type Channel struct + func NewChannel(num uint16, release releaseFunc) *Channel + type Player struct + func CreatePlayer(conn connection.PacketStream, client *mercury.Client) *Player + func (p *Player) AllocateChannel() *Channel + func (p *Player) HandleCmd(cmd byte, data []byte) + func (p *Player) LoadTrack(file *Spotify.AudioFile, trackId []byte) (*AudioFile, error) + func (p *Player) LoadTrackWithIdAndFormat(fileId []byte, format Spotify.AudioFile_Format, trackId []byte) (*AudioFile, error)