Versions in this module Expand all Collapse all v0 v0.0.2 May 10, 2024 Changes in this version + const MaxAccessUnitSize + const SamplesPerAccessUnit + type ADTSPacket struct + AU []byte + ChannelCount int + SampleRate int + Type ObjectType + type ADTSPackets []*ADTSPacket + func (ps *ADTSPackets) Unmarshal(buf []byte) error + func (ps ADTSPackets) Marshal() ([]byte, error) + type AudioSpecificConfig struct + ChannelCount int + CoreCoderDelay uint16 + DependsOnCoreCoder bool + ExtensionSampleRate int + ExtensionType ObjectType + FrameLengthFlag bool + SampleRate int + Type ObjectType + func (c *AudioSpecificConfig) Unmarshal(buf []byte) error + func (c *AudioSpecificConfig) UnmarshalFromPos(buf []byte, pos *int) error + func (c AudioSpecificConfig) Marshal() ([]byte, error) + type Config = AudioSpecificConfig + type ObjectType int + const ObjectTypeAACLC + const ObjectTypePS + const ObjectTypeSBR + type StreamMuxConfig struct + CRCCheckPresent bool + CRCCheckSum uint8 + NumSubFrames uint + OtherDataLenBits uint32 + OtherDataPresent bool + Programs []*StreamMuxConfigProgram + func (c *StreamMuxConfig) Unmarshal(buf []byte) error + func (c StreamMuxConfig) Marshal() ([]byte, error) + type StreamMuxConfigLayer struct + AudioSpecificConfig *AudioSpecificConfig + CELPframeLengthTableIndex uint + FrameLength uint + FrameLengthType uint + HVXCframeLengthTableIndex bool + LatmBufferFullness uint + type StreamMuxConfigProgram struct + Layers []*StreamMuxConfigLayer