ogg

package
v0.0.0-...-e1c21c9 Latest Latest
Warning

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

Go to latest
Published: May 10, 2019 License: Zlib Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decoder

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

func NewVorbisDecoder

func NewVorbisDecoder(name string) (d *Decoder, err error)

func (*Decoder) BitDepth

func (d *Decoder) BitDepth() int32

func (*Decoder) Buffer

func (d *Decoder) Buffer() []byte

func (*Decoder) Decode

func (d *Decoder) Decode() int

func (*Decoder) FullDecode

func (*Decoder) FullDecode(file res.File) (data []byte, numChan, bitDepth, freq int32, err error)

func (*Decoder) NumOfChan

func (d *Decoder) NumOfChan() int32

func (*Decoder) ReachEnd

func (d *Decoder) ReachEnd() bool

func (*Decoder) Rewind

func (d *Decoder) Rewind()

func (*Decoder) SampleRate

func (d *Decoder) SampleRate() int32

Jump to

Keyboard shortcuts

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