CMceG711Codec Class Reference

class CMceG711Codec : public CMceAudioCodec

Class for the G711 codec information.

It checks the validity of inserted values for G711.

mceclient.lib

Inherits from

Public Member Functions
~CMceG711Codec()
IMPORT_C CMceAudioCodec *CloneL()
IMPORT_C TIntEnableVAD(TBool)
CMceG711Codec *NewL(TBuf8< KMceMaxSdpNameLength >)
CMceG711Codec *NewLC(TBuf8< KMceMaxSdpNameLength >)
IMPORT_C TIntSetAllowedBitrates(TUint)
IMPORT_C TIntSetBitrate(TUint)
IMPORT_C TIntSetCodecMode(TUint)
IMPORT_C TIntSetMaxPTime(TUint)
IMPORT_C TIntSetPTime(TUint)
IMPORT_C TIntSetPayloadType(TUint8)
IMPORT_C TIntSetSamplingFreq(TUint)
Private Member Functions
CMceG711Codec()
voidConstructL(TBuf8< KMceMaxSdpNameLength >)
voidSetSdpNameL(const TDesC8 &)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CMceAudioCodec::CMceAudioCodec()
CMceAudioCodec::ComparePreferences(const CMceAudioCodec &,const CMceAudioCodec &)
CMceAudioCodec::ConstructL(CMceComAudioCodec *)
CMceAudioCodec::Factory()
CMceAudioCodec::InitializeL(CMceMediaStream &)
CMceAudioCodec::MaxPTime()const
CMceAudioCodec::PTime()const
CMceAudioCodec::SamplingFreq()const
CMceAudioCodec::VAD()const
CMceAudioCodec::~CMceAudioCodec()
CMceCodec::AllowedBitrates()const
CMceCodec::Attach(CMceMediaStream &)
CMceCodec::BaseFactory()
CMceCodec::Bitrate()const
CMceCodec::CMceCodec()
CMceCodec::CodecMode()const
CMceCodec::ConstructL(CMceComCodec *)
CMceCodec::EventReceivedL(TMceEvent &)
CMceCodec::ExternalizeFlatL(RWriteStream &)
CMceCodec::ExternalizeL(MMceComSerializationContext &)
CMceCodec::FlatData()
CMceCodec::FourCC()const
CMceCodec::FrameSize()const
CMceCodec::Id()const
CMceCodec::InternalizeFlatL(RReadStream &)
CMceCodec::InternalizeL(MMceComSerializationContext &)
CMceCodec::KeepAliveData()const
CMceCodec::KeepAlivePayloadType()const
CMceCodec::KeepAliveTimer()const
CMceCodec::MMFPriority()const
CMceCodec::MMFPriorityPreference()const
CMceCodec::PayloadType()const
CMceCodec::Preference()const
CMceCodec::SdpName()const
CMceCodec::SerializationId()const
CMceCodec::SetKeepAliveDataL(const TDesC8 &)
CMceCodec::SetKeepAlivePayloadTypeL(TUint8)
CMceCodec::SetKeepAliveTimerL(TUint8)
CMceCodec::SetMMFPriorityL(TInt)
CMceCodec::SetMMFPriorityPreferenceL(TInt)
CMceCodec::SetPreferenceL(TInt)
CMceCodec::SetStandByTimerL(TUint32)
CMceCodec::SetStateL(CMceCodec::TState)
CMceCodec::State()const
CMceCodec::Type()const
CMceCodec::Updated()
CMceCodec::~CMceCodec()
Inherited Enumerations
CMceCodec:TState
Inherited Attributes
CMceCodec::iFlatData
CMceCodec::iStream
CMceCodec::iType

Constructor & Destructor Documentation

CMceG711Codec()

CMceG711Codec()[private]

C++ default constructor.

~CMceG711Codec()

IMPORT_C~CMceG711Codec()

Destructor.

Member Functions Documentation

CloneL()

IMPORT_C CMceAudioCodec *CloneL()const [virtual]

Enable / Disable Comfort noise codec existence.

ConstructL(TBuf8< KMceMaxSdpNameLength >)

voidConstructL(TBuf8< KMceMaxSdpNameLength >aSdpName)[private]

By default Symbian 2nd phase constructor is private.

Parameters

TBuf8< KMceMaxSdpNameLength > aSdpName

EnableVAD(TBool)

IMPORT_C TIntEnableVAD(TBoolaEnableVAD)[virtual]

Enable / Disable Voice Activity Detection.

Parameters

TBool aEnableVAD

NewL(TBuf8< KMceMaxSdpNameLength >)

CMceG711Codec *NewL(TBuf8< KMceMaxSdpNameLength >aSdpName)[static]

Two-phased constructor.

Parameters

TBuf8< KMceMaxSdpNameLength > aSdpNamesdp name

NewLC(TBuf8< KMceMaxSdpNameLength >)

CMceG711Codec *NewLC(TBuf8< KMceMaxSdpNameLength >aSdpName)[static]

Two-phased constructor.

Parameters

TBuf8< KMceMaxSdpNameLength > aSdpNamesdp name

SetAllowedBitrates(TUint)

IMPORT_C TIntSetAllowedBitrates(TUintaBitrates)[virtual]

Sets bitrates allowed with codec.

Parameters

TUint aBitrates

SetBitrate(TUint)

IMPORT_C TIntSetBitrate(TUintaBitrate)[virtual]

Sets bitrate used with codec for encoding.

Parameters

TUint aBitrate

SetCodecMode(TUint)

IMPORT_C TIntSetCodecMode(TUintaCodecMode)[virtual]

Sets the codec mode.

Parameters

TUint aCodecModeCodec mode (PCMU / PCMA )

SetMaxPTime(TUint)

IMPORT_C TIntSetMaxPTime(TUintaMaxPTime)[virtual]

Sets the maximum packetization rate.

Parameters

TUint aMaxPTime

SetPTime(TUint)

IMPORT_C TIntSetPTime(TUintaPTime)[virtual]

Sets the packetization rate.

Parameters

TUint aPTime

SetPayloadType(TUint8)

IMPORT_C TIntSetPayloadType(TUint8aPayloadType)[virtual]

Sets the payload type identifier.

Parameters

TUint8 aPayloadTypepayload type identifier.

SetSamplingFreq(TUint)

IMPORT_C TIntSetSamplingFreq(TUintaSamplingFreq)[virtual]

Sets the sampling frequency.

Parameters

TUint aSamplingFreq

SetSdpNameL(const TDesC8 &)

voidSetSdpNameL(const TDesC8 &aSdpName)[private, virtual]

Sets the sdp name.

Parameters

const TDesC8 & aSdpNamethe sdp name