Versions in this module Expand all Collapse all v1 v1.0.0 May 6, 2021 Changes in this version + type AacDecoder struct + func NewAacDecoder() *AacDecoder + func (v *AacDecoder) AacNumChannels() int + func (v *AacDecoder) AacSampleRate() int + func (v *AacDecoder) AacSamplesPerFrame() int + func (v *AacDecoder) AudioObjectType() int + func (v *AacDecoder) Bitrate() int + func (v *AacDecoder) ChannelConfig() int + func (v *AacDecoder) Close() error + func (v *AacDecoder) Decode(frame []byte) (pcm []byte, err error) + func (v *AacDecoder) ExtensionAudioObjectType() int + func (v *AacDecoder) ExtensionSamplingRate() int + func (v *AacDecoder) FrameSize() int + func (v *AacDecoder) InitAdts() (err error) + func (v *AacDecoder) InitRaw(asc []byte) (err error) + func (v *AacDecoder) NumBadAccessUnits() int + func (v *AacDecoder) NumBadBytes() int + func (v *AacDecoder) NumChannels() int + func (v *AacDecoder) NumLostAccessUnits() int + func (v *AacDecoder) NumTotalAccessUnits() int + func (v *AacDecoder) NumTotalBytes() int + func (v *AacDecoder) Profile() int + func (v *AacDecoder) SampleBits() int + func (v *AacDecoder) SampleRate() int + type AacEncoder struct + func NewAacEncoder() *AacEncoder + func (v *AacEncoder) Channels() int + func (v *AacEncoder) Close() error + func (v *AacEncoder) Encode(pcm []byte) (aac []byte, err error) + func (v *AacEncoder) Flush() (aac []byte, err error) + func (v *AacEncoder) FrameSize() int + func (v *AacEncoder) InitLc(channels, sampleRate, bitrateBps int) (err error) + func (v *AacEncoder) NbBytesPerFrame() int