Versions in this module Expand all Collapse all v0 v0.0.1 May 31, 2022 Changes in this version + func SetAlpha(a byte, data []byte) + type ExpectedHeader struct + func (err ExpectedHeader) Error() string + type Player struct + func NewPlayerFromBytes(data []byte) (*Player, error) + func NewPlayerFromFile(f *os.File) (*Player, error) + func NewPlayerFromFilename(file string) (*Player, error) + func (plm *Player) AudioEnabled() bool + func (plm *Player) AudioLeadTime() time.Duration + func (plm *Player) ByteDepth() int + func (plm *Player) ClearAudioBuffer() + func (plm *Player) Close() + func (plm *Player) Decode(elapsed time.Duration) + func (plm *Player) DrawFrameAt(img draw.Image, elapsed time.Duration, exact bool) bool + func (plm *Player) DrawTo(img draw.Image) + func (plm *Player) Duration() time.Duration + func (plm *Player) Finished() bool + func (plm *Player) FrameRate() float64 + func (plm *Player) HasAudio() bool + func (plm *Player) HasNewAudio() bool + func (plm *Player) HasNewFrame() bool + func (plm *Player) HasVideo() bool + func (plm *Player) Height() int + func (plm *Player) Loop() bool + func (plm *Player) NumAudioStreams() int + func (plm *Player) NumVideoStreams() int + func (plm *Player) Read(buf []byte) (n int, err error) + func (plm *Player) ReadRGBA(data []byte) + func (plm *Player) ReadRGBAAt(data []byte, elapsed time.Duration, exact bool) bool + func (plm *Player) Rewind() + func (plm *Player) SampleRate() int + func (plm *Player) Seek(time time.Duration, exact bool) bool + func (plm *Player) SetAudioEnabled(enabled bool) + func (plm *Player) SetAudioLeadTime(time time.Duration) + func (plm *Player) SetByteDepth(depth int) + func (plm *Player) SetLoop(set bool) + func (plm *Player) SetVideoEnabled(enabled bool) + func (plm *Player) Time() time.Duration + func (plm *Player) VideoEnabled() bool + func (plm *Player) Width() int