mw::mo::GenericAudioDecoder::UnpackFrame Function

Syntax


virtual bool UnpackFrame (const void* pSrcBitStreamPtr, const int bitstreamSize) = 0;

Arguments

Name Description
in pSrcBitStreamPtr The pointer of the buffer containing the bitstream data that will be used to decode the audio.
in pSrcBitStreamPtr The size of the buffer containing the bitstream data in bytes.

Returns

true if success, false if error.

Description

Decodes an new audio frame.

The previously decoded audio frame is deleted, if any.

This is a pure virtual method, actual implementation will be done in derived classes.

Revision History

2010/04/15
Initial version.