Documentation ¶
Index ¶
- Constants
- type Encoder
- func (encoder *Encoder) Close()
- func (encoder *Encoder) Configuration() *EncoderConfiguration
- func (encoder *Encoder) EncodeBytes(samples []byte, output []byte) int
- func (encoder *Encoder) EncodeFloats(samples []float32, output []byte) int
- func (encoder *Encoder) InputSamples() int
- func (encoder *Encoder) MaxOutputBytes() int
- func (encoder *Encoder) OutputBuffer() []byte
- func (encoder *Encoder) SetConfiguration(configuration *EncoderConfiguration) error
- type EncoderConfiguration
Constants ¶
View Source
const ( InputFloat = int(C.FAAC_INPUT_FLOAT) Input16bits = int(C.FAAC_INPUT_16BIT) Input32bits = int(C.FAAC_INPUT_32BIT) Main = int(C.MAIN) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Encoder ¶
type Encoder struct {
// contains filtered or unexported fields
}
func (*Encoder) Configuration ¶
func (encoder *Encoder) Configuration() *EncoderConfiguration
func (*Encoder) EncodeBytes ¶
func (*Encoder) EncodeFloats ¶
func (*Encoder) InputSamples ¶
func (*Encoder) MaxOutputBytes ¶
func (*Encoder) OutputBuffer ¶
func (*Encoder) SetConfiguration ¶
func (encoder *Encoder) SetConfiguration(configuration *EncoderConfiguration) error
Click to show internal directories.
Click to hide internal directories.