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

AudioDecoderMp3Frame Class

An audio decoder for raw MPEG audio data
Meta::Voice::Audio::Decoding::AudioDecoderMp3Frame extends Meta.Audio.NLayer.IMpegFrame.

Overview

Properties

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

Public Member Functions

void
Reset ( )
Resets all read data
float []
Decode
( byte [] chunkData,
ref int start,
int length )
Decodes the frame & returns the number of leftover
int
ReadBits
( int bitCount )
override string

Object Data

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

Object Data

Details

Properties

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

Member Functions

void Meta.Voice.Audio.Decoding.AudioDecoderMp3Frame.Reset ( )
Resets all read data
float [] Meta.Voice.Audio.Decoding.AudioDecoderMp3Frame.Decode
( byte [] chunkData,
ref int start,
int length )
Decodes the frame & returns the number of leftover
Parameters
chunkData
A chunk of bytes received from a web service
start
The location to begin decoding chunkData
length
The total number of bytes to be used within chunkData
Returns
Returns an array of audio data from 0-1
int Meta.Voice.Audio.Decoding.AudioDecoderMp3Frame.ReadBits
( int bitCount )
No description available.
override string Meta.Voice.Audio.Decoding.AudioDecoderMp3Frame.ToString ( )
No description available.

Object Data

static int Meta.Voice.Audio.Decoding.AudioDecoderMp3Frame.BitRShift
( int number,
int bits )
No description available.
static string Meta.Voice.Audio.Decoding.AudioDecoderMp3Frame.GetBitString
( int headerData )
No description available.

Object Data

int Meta.Voice.Audio.Decoding.AudioDecoderMp3Frame.GetSideDataSize ( )
No description available.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon