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

MpegFrame Class

Object Data for package-attrib

MpegFrame Next[Get]
int Number[Get]

Properties

int FrameLength[Get]
MpegVersion Version[Get]
MpegLayer Layer[Get]
bool HasCrc[Get]
int BitRate[Get]
int BitRateIndex[Get]
int SampleRate[Get]
int SampleRateIndex[Get]
int Padding[Get]
MpegChannelMode ChannelMode[Get]
int ChannelModeExtension[Get]
int Channels[Get]
bool IsCopyrighted[Get]
bool IsOriginal[Get]
int EmphasisMode[Get]
bool IsCorrupted[Get]
int SampleCount[Get]
long SampleOffset[Get]

Object Data for package-static-func

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

Protected Functions

Called to validate the frame header
Returns
The length of the frame, or -1 if frame is invalid

Object Data for package-func

int GetSideDataSize ( )
VBRInfo ParseVBR ( )

Member Functions

Resets the bit reader so frames can be reused
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