Versions in this module Expand all Collapse all v0 v0.1.0 Aug 11, 2026 Changes in this version + const SamplesPerFrame + var ErrEncoderFlushed = errors.New("AAC encoder has already been flushed") + var ErrUnsupported = errors.New("AAC feature is not supported") + type Config struct + Channels int + EnableTNS bool + Quality float64 + SampleRate int + type Decoder struct + func NewDecoder() (*Decoder, error) + func (d *Decoder) Channels() int + func (d *Decoder) Decode(data []byte) ([]int16, error) + func (d *Decoder) SampleRate() int + type Encoder struct + func NewEncoder(config Config) (*Encoder, error) + func (e *Encoder) Encode(pcm []int16) ([]byte, error) + func (e *Encoder) Flush() ([]byte, error)