Documentation ¶ Index ¶ type Encoder func NewEncoder(channels int32, sampleRate int32, bitRate uint) *Encoder func (encoder *Encoder) Encode(out []byte, data []byte) int func (encoder *Encoder) EndStream(out []byte) int func (encoder *Encoder) GranulePos() int64 Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Encoder ¶ type Encoder struct { // contains filtered or unexported fields } func NewEncoder ¶ func NewEncoder(channels int32, sampleRate int32, bitRate uint) *Encoder func (*Encoder) Encode ¶ func (encoder *Encoder) Encode(out []byte, data []byte) int func (*Encoder) EndStream ¶ func (encoder *Encoder) EndStream(out []byte) int func (*Encoder) GranulePos ¶ func (encoder *Encoder) GranulePos() int64 Source Files ¶ View all Source files vorbisencoder.go Click to show internal directories. Click to hide internal directories.