API reference
API reference
Select your platform
No SDKs available
No versions available

AudioDecoderMp3Frame Class

An audio decoder for raw MPEG audio data

Properties

IVLogger Logger[Get]
Mpeg version enum
MPEG Layer
Channel Mode
The channel extension bits
The bitrate index (directly from the header)
Bit Rate
The samplerate index (directly from the header)
Sample rate of this frame
Whether the copyright bit is set
Whether a CRC is present
Whether the CRC check failed (use error concealment strategy)
Frame length in bytes
The number of samples in this frame

Fields

bool IsHeaderDecoded[Get]

Member Functions

Resets all read specific data
Decodes the frame & returns the int of
Parameters
buffer
A buffer of bytes to be decoded into audio sample data
bufferOffset
The buffer start offset used for decoding a reused buffer
bufferLength
The total number of bytes to be used from the buffer
onDecodedSample
Callback following a sample decode
int ReadBits
( int bitCount )
override string ToString ( )

Static Member Functions

Reverse array without 66 Byte allocation

Object Data for package-static-func

static int BitRShift
( int number,
int bits )
static string GetBitString
( int headerData )

Object Data for package-func

int GetSideDataSize ( )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon