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

MpegFrameDecoder Class

Properties

Stereo mode used in decoding.

Member Functions

MpegFrameDecoder ( )
Set the equalizer.
Parameters
eq
The equalizer, represented by an array of 32 adjustments in dB.
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
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
Reset the decoder.
Did you find this page helpful?