MMMFGsmConfig Class Reference
#include
<mmf/server/devsoundstandardcustominterfaces.h>
Link against: tsu_mdf_omxvorbiscodecs.lib
Detailed Description
This class provides an interface to set and retrive the GSM conversion format.
Member Enumeration Documentation
Enum TMMFGsmConversionFormat
The GSM conversion format
Enumerator | Value | Description |
---|
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.
|
Member Function Documentation
ConversionFormat ( TMMFGsmConversionFormat & )
Provides the current conversion format. Can be called at any time.
Parameter | Description | 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. |
Returns: KErrNone if value returned successfully, KErrUnknown if value has not been successfully configured using SetConversionFormat() at least once for the current instance of the interface and there is no default value. KErrGeneral for all other error scenario.
SetConversionFormat ( TMMFGsmConversionFormat )
Set the conversion format using the TMMFGsmConversionFormat enum. This conversion must be set before the coder/decoder is started.
Parameter | Description | aConvFormat | - format desired. For encoding behaviour, format will be the input format and for decoding behaviour format will be the output format. |
Returns: KErrNone - Format change supported, KErrNotSupported - Format change not supported, KErrInUse - Format change attempted whilst decoding.