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

AudioDecoderMp3Frame Class

An audio decoder for raw MPEG audio data

Fields

IsHeaderDecoded : bool
Signature
bool Meta.Voice.Audio.Decoding.AudioDecoderMp3Frame.IsHeaderDecoded

Properties

BitRate : int
[Get]
Bit Rate
Signature
int Meta.Voice.Audio.Decoding.AudioDecoderMp3Frame.BitRate
BitRateIndex : int
[Get]
The bitrate index (directly from the header)
Signature
int Meta.Voice.Audio.Decoding.AudioDecoderMp3Frame.BitRateIndex
ChannelMode : MpegChannelMode
[Get]
Channel Mode
Signature
MpegChannelMode Meta.Voice.Audio.Decoding.AudioDecoderMp3Frame.ChannelMode
ChannelModeExtension : int
[Get]
The channel extension bits
Signature
int Meta.Voice.Audio.Decoding.AudioDecoderMp3Frame.ChannelModeExtension
FrameLength : int
[Get]
Frame length in bytes
Signature
int Meta.Voice.Audio.Decoding.AudioDecoderMp3Frame.FrameLength
HasCrc : bool
[Get]
Whether a CRC is present
Signature
bool Meta.Voice.Audio.Decoding.AudioDecoderMp3Frame.HasCrc
IsCopyrighted : bool
[Get]
Whether the copyright bit is set
Signature
bool Meta.Voice.Audio.Decoding.AudioDecoderMp3Frame.IsCopyrighted
IsCorrupted : bool
[Get]
Whether the CRC check failed (use error concealment strategy)
Signature
bool Meta.Voice.Audio.Decoding.AudioDecoderMp3Frame.IsCorrupted
Layer : MpegLayer
[Get]
MPEG Layer
Signature
MpegLayer Meta.Voice.Audio.Decoding.AudioDecoderMp3Frame.Layer
Logger : IVLogger
[Get]
Signature
IVLogger Meta.Voice.Audio.Decoding.AudioDecoderMp3Frame.Logger
SampleCount : int
[Get]
The number of samples in this frame
Signature
int Meta.Voice.Audio.Decoding.AudioDecoderMp3Frame.SampleCount
SampleRate : int
[Get]
Sample rate of this frame
Signature
int Meta.Voice.Audio.Decoding.AudioDecoderMp3Frame.SampleRate
SampleRateIndex : int
[Get]
The samplerate index (directly from the header)
Signature
int Meta.Voice.Audio.Decoding.AudioDecoderMp3Frame.SampleRateIndex
Version : MpegVersion
[Get]
Mpeg version enum
Signature
MpegVersion Meta.Voice.Audio.Decoding.AudioDecoderMp3Frame.Version

Methods

Decode ( buffer , bufferOffset , bufferLength , onSamplesDecoded )
Decodes the frame & returns the int of
Signature
int Meta.Voice.Audio.Decoding.AudioDecoderMp3Frame.Decode(byte[] buffer, int bufferOffset, int bufferLength, AudioSampleDecodeDelegate onSamplesDecoded)
Parameters
buffer: byte []  A buffer of bytes to be decoded into audio sample data
bufferOffset: int  The buffer start offset used for decoding a reused buffer
bufferLength: int  The total number of bytes to be used from the buffer
onSamplesDecoded: AudioSampleDecodeDelegate
Returns
int
ReadBits ( bitCount )
Signature
int Meta.Voice.Audio.Decoding.AudioDecoderMp3Frame.ReadBits(int bitCount)
Parameters
bitCount: int
Returns
int
Reset ()
Resets all read specific data
Signature
void Meta.Voice.Audio.Decoding.AudioDecoderMp3Frame.Reset()
Returns
void
ToString ()
Signature
override string Meta.Voice.Audio.Decoding.AudioDecoderMp3Frame.ToString()
Returns
override string

Static Methods

Reverse< T > ( array , start , length )
Reverse array without 66 Byte allocation
Signature
static void Meta.Voice.Audio.Decoding.AudioDecoderMp3Frame.Reverse< T >(T[] array, int start, int length)
Parameters
array: T []
start: int
length: int
Returns
void

Internal Methods

GetSideDataSize ()
Signature
int Meta.Voice.Audio.Decoding.AudioDecoderMp3Frame.GetSideDataSize()
Returns
int

Internal Static Methods

BitRShift ( number , bits )
Signature
static int Meta.Voice.Audio.Decoding.AudioDecoderMp3Frame.BitRShift(int number, int bits)
Parameters
number: int
bits: int
Returns
int
GetBitString ( headerData )
Signature
static string Meta.Voice.Audio.Decoding.AudioDecoderMp3Frame.GetBitString(int headerData)
Parameters
headerData: int
Returns
string