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

MpegFrameDecoder Class

Overview

Properties

Stereo mode used in decoding.

Public Member Functions

void
SetEQ
( float [] eq )
Set the equalizer.
int
DecodeFrame
( IMpegFrame frame,
byte [] dest,
int destOffset )
Decode the Mpeg frame into provided buffer. Do exactly the same as DecodeFrame(IMpegFrame, float[], int) except that the data is written in type as byte array, while still representing single-precision float (in local endian).
int
DecodeFrame
( IMpegFrame frame,
float [] dest,
int destOffset )
Decode the Mpeg frame into provided buffer. Result varies with different StereoMode:
void
Reset ( )
Reset the decoder.

Details

Properties

StereoMode Meta.Audio.NLayer.MpegFrameDecoder.StereoMode
Stereo mode used in decoding.

Member Functions

Meta.Audio.NLayer.MpegFrameDecoder.MpegFrameDecoder ( )
No description available.
void Meta.Audio.NLayer.MpegFrameDecoder.SetEQ
( float [] eq )
Set the equalizer.
Parameters
eq
The equalizer, represented by an array of 32 adjustments in dB.
int Meta.Audio.NLayer.MpegFrameDecoder.DecodeFrame
( IMpegFrame frame,
byte [] dest,
int destOffset )
Decode the Mpeg frame into provided buffer. Do exactly the same as DecodeFrame(IMpegFrame, float[], int) except that the data is written in type as byte array, while still representing single-precision float (in local endian).
Parameters
frame
The Mpeg frame to be decoded.
dest
Destination buffer. Decoded PCM (single-precision floating point array) will be written into it.
destOffset
Writing offset on the destination buffer.
Returns
int Meta.Audio.NLayer.MpegFrameDecoder.DecodeFrame
( IMpegFrame frame,
float [] dest,
int destOffset )
Decode the Mpeg frame into provided buffer. Result varies with different StereoMode:
Parameters
frame
The Mpeg frame to be decoded.
dest
Destination buffer. Decoded PCM (single-precision floating point array) will be written into it.
destOffset
Writing offset on the destination buffer.
Returns
void Meta.Audio.NLayer.MpegFrameDecoder.Reset ( )
Reset the decoder.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon