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

MpegFrame Class

Meta::Audio::NLayer::Decoder::MpegFrame extends Meta.Audio.NLayer.Decoder.FrameBase.
Meta::Audio::NLayer::Decoder::MpegFrame extends Meta.Audio.NLayer.IMpegFrame.

Overview

Object Data

Next[Get]
int
Number[Get]

Properties

Object Data

static MpegFrame
TrySync
( uint syncMark )
static void
UpdateCRC
( int data,
int length,
ref uint crc )

Object Data

override int
Called to validate the frame header

Object Data

Public Member Functions

void
Reset ( )
Resets the bit reader so frames can be reused
int
ReadBits
( int bitCount )
Provides sequential access to the bitstream in the frame (after the header and optional CRC)

Details

Object Data

MpegFrame Meta.Audio.NLayer.Decoder.MpegFrame.Next
No description available.
int Meta.Audio.NLayer.Decoder.MpegFrame.Number
No description available.

Properties

int Meta.Audio.NLayer.Decoder.MpegFrame.FrameLength
No description available.
MpegVersion Meta.Audio.NLayer.Decoder.MpegFrame.Version
No description available.
MpegLayer Meta.Audio.NLayer.Decoder.MpegFrame.Layer
No description available.
bool Meta.Audio.NLayer.Decoder.MpegFrame.HasCrc
No description available.
int Meta.Audio.NLayer.Decoder.MpegFrame.BitRate
No description available.
int Meta.Audio.NLayer.Decoder.MpegFrame.BitRateIndex
No description available.
int Meta.Audio.NLayer.Decoder.MpegFrame.SampleRate
No description available.
int Meta.Audio.NLayer.Decoder.MpegFrame.SampleRateIndex
No description available.
int Meta.Audio.NLayer.Decoder.MpegFrame.Padding
No description available.
MpegChannelMode Meta.Audio.NLayer.Decoder.MpegFrame.ChannelMode
No description available.
int Meta.Audio.NLayer.Decoder.MpegFrame.ChannelModeExtension
No description available.
int Meta.Audio.NLayer.Decoder.MpegFrame.Channels
No description available.
bool Meta.Audio.NLayer.Decoder.MpegFrame.IsCopyrighted
No description available.
bool Meta.Audio.NLayer.Decoder.MpegFrame.IsOriginal
No description available.
int Meta.Audio.NLayer.Decoder.MpegFrame.EmphasisMode
No description available.
bool Meta.Audio.NLayer.Decoder.MpegFrame.IsCorrupted
No description available.
int Meta.Audio.NLayer.Decoder.MpegFrame.SampleCount
No description available.
long Meta.Audio.NLayer.Decoder.MpegFrame.SampleOffset
No description available.

Object Data

static MpegFrame Meta.Audio.NLayer.Decoder.MpegFrame.TrySync
( uint syncMark )
No description available.
static void Meta.Audio.NLayer.Decoder.MpegFrame.UpdateCRC
( int data,
int length,
ref uint crc )
No description available.

Object Data

override int Meta.Audio.NLayer.Decoder.MpegFrame.Validate ( )
Called to validate the frame header
Returns
The length of the frame, or -1 if frame is invalid

Object Data

int Meta.Audio.NLayer.Decoder.MpegFrame.GetSideDataSize ( )
No description available.
VBRInfo Meta.Audio.NLayer.Decoder.MpegFrame.ParseVBR ( )
No description available.

Member Functions

void Meta.Audio.NLayer.Decoder.MpegFrame.Reset ( )
Resets the bit reader so frames can be reused
int Meta.Audio.NLayer.Decoder.MpegFrame.ReadBits
( int bitCount )
Provides sequential access to the bitstream in the frame (after the header and optional CRC)
Parameters
bitCount
The number of bits to read
Returns
-1 if the end of the frame has been encountered, otherwise the bits requested
Did you find this page helpful?
Thumbs up icon
Thumbs down icon