Documentation ¶
Index ¶
- type Decoder
- func (d *Decoder) BitDepth() int32
- func (d *Decoder) Buffer() []byte
- func (d *Decoder) Close()
- func (d *Decoder) Decode() (decoded int)
- func (*Decoder) FullDecode(file res.File) (data []byte, numChan, bitDepth, freq int32, err error)
- func (d *Decoder) NumOfChan() int32
- func (d *Decoder) ReachEnd() bool
- func (d *Decoder) Rewind()
- func (d *Decoder) SampleRate() int32
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
}
* impl:
type Decoder interface { FullDecode() (d []byte, numChan, freq int32, err error) Decode() int NumOfChan() int BitDepth() int SampleRate() int32 Static() []byte ReachEnd() bool }
func NewDecoder ¶
func (*Decoder) FullDecode ¶
DON'T change decoder state! pure-virtual function
func (*Decoder) SampleRate ¶
Click to show internal directories.
Click to hide internal directories.