Versions in this module Expand all Collapse all v0 v0.1.0 Aug 25, 2026 Changes in this version + type Bandwidth byte + const BandwidthMediumband + const BandwidthNarrowband + const BandwidthWideband + type Decoder struct + func NewDecoder() Decoder + func (d *Decoder) Decode(in []byte, out []float32, isStereo bool, nanoseconds int, bandwidth Bandwidth) error + func (d *Decoder) DecodePLC(out []float32, isStereo bool, outputChannelCount int, nanoseconds int, ...) error + func (d *Decoder) DecodeWithRange(rangeDecoder *rangecoding.Decoder, out []float32, isStereo bool, ...) error + func (d *Decoder) DecodeWithRangeToChannels(rangeDecoder *rangecoding.Decoder, out []float32, isStereo bool, ...) error + type Encoder struct + func NewEncoder() Encoder + func (e *Encoder) Encode(input []int16, bandwidth Bandwidth, targetBitrate int) []byte + func (e *Encoder) SetUseInterpolatedNLSFs(enabled bool)