mw::mo::GenericAudioDecoder::GetFrame Function

Syntax


virtual bool GetFrame (const void*& pOutPcmFrame, int& outFrameSize) = 0;

Arguments

Name Description
out pOutPcmFrame The pointer reference that contains the decoded audio frame data in PCM 16 bits format.
out outFrameSize The size of the decoded audio frame data in bytes.

Returns

true if success, false if error.

Description

Gets the decoded data of the latest decoded audio frame, in PCM 16 bits format.

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

Revision History

2010/04/15
Initial version.