mw::mo::GenericAudioDecoder::Create Function

Syntax


virtual bool Create (const int frequency, const int nbChannel) = 0;

Arguments

Name Description
in frequency The frequency of the audio data to decode, in Hertz.
in nbChannel The number of channel of the audio data to decode.

Returns

true if decoder creation went well, false if error.

Description

Creates(allocates) decoder internal datas based on given parameters.

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

Revision History

2010/04/15
Initial version.