Versions in this module Expand all Collapse all v0 v0.0.1 Sep 23, 2023 Changes in this version + const AppAudio + const AppRestrictedLowdelay + const AppVoIP + const BandwidthFullband + const BandwidthMediumband + const BandwidthNarrowband + const BandwidthSuperwideband + const BandwidthWideband + const BitrateMax + const Framesize100Ms + const Framesize10Ms + const Framesize120Ms + const Framesize20Ms + const Framesize2Dot5Ms + const Framesize40Ms + const Framesize5Ms + const Framesize60Ms + const Framesize80Ms + const FramesizeArg + const OpusAuto + const SignalMusic + const SignalVoice + type Application int + type BandwidthType int + type FrameSizeType int + type OpusDecoder struct + func CreateOpusDecoder(config *OpusDecoderConfig) (dec *OpusDecoder, err error) + func (dec *OpusDecoder) Close() error + func (dec *OpusDecoder) Decode(in, out []byte) (int, error) + type OpusDecoderConfig struct + EnableInbandFEC bool + Gain int + MaxChannels int + SampleRate int + type OpusEncoder struct + func CreateOpusEncoder(config *OpusEncoderConfig) (enc *OpusEncoder, err error) + func (enc *OpusEncoder) Close() error + func (enc *OpusEncoder) Encode(in, out []byte) (int, error) + func (enc *OpusEncoder) InDTX() bool + func (enc *OpusEncoder) Lookahead() int + type OpusEncoderConfig struct + Application Application + Bandwidth BandwidthType + Bitrate int + Complexity int + DisableConstrainedVBR bool + DisablePhaseInversion bool + DisablePrediction bool + DisableVBR bool + EnableDTX bool + EnableInbandFEC bool + ForceChannels int + FrameDuration FrameSizeType + LSBDepth int + MaxBandwidth BandwidthType + MaxChannels int + PacketLossPercent int + SampleRate int + SignalType SignalType + type SignalType int