MMMFGsmConfig Class Reference

class MMMFGsmConfig

This class provides an interface to set and retrive the GSM conversion format.

Member Functions Documentation

ConversionFormat(TMMFGsmConversionFormat &)

TInt ConversionFormat(TMMFGsmConversionFormat &aConvFormat)const [pure virtual]

Provides the current conversion format. Can be called at any time.

Parameters

TMMFGsmConversionFormat & aConvFormat- after the call contains the current format. For encoding behaviour, format will be the input format and for decoding behaviour format will be the output format.

SetConversionFormat(TMMFGsmConversionFormat)

TInt SetConversionFormat(TMMFGsmConversionFormataConvFormat)[pure virtual]

Set the conversion format using the TMMFGsmConversionFormat enum. This conversion must be set before the coder/decoder is started.

Parameters

TMMFGsmConversionFormat aConvFormat- format desired. For encoding behaviour, format will be the input format and for decoding behaviour format will be the output format.

Member Enumerations Documentation

Enum TMMFGsmConversionFormat

The GSM conversion format

Enumerators

ENone

no conversion specified

EALaw8bit

for use in Full rate (06.10) and half rate (GSM 06.20 Half Rate (HR)) Vocoder

EULaw8bit

for use in Full rate (06.10) and half rate (GSM 06.20 Half Rate (HR)) Vocoder

EAlawPCM

for use in GSM 06.60 Enhanced Full Rate (EFR) Vocoder.