CMceDtmfCodec Class Reference

class CMceDtmfCodec : public CMceAudioCodec

Class for the DTMF codec information.

It checks the validity of inserted values for DTMF. For DTMF codec only mode setting (inbound / outbound) is valid. mceclient.lib

Inherits from

Public Member Functions
~CMceDtmfCodec()
IMPORT_C CMceAudioCodec *CloneL()
IMPORT_C TIntEnableVAD(TBool)
CMceDtmfCodec *NewL(TBuf8< KMceMaxSdpNameLength >)
CMceDtmfCodec *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
CMceDtmfCodec()
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

CMceDtmfCodec()

CMceDtmfCodec()[private]

C++ default constructor.

~CMceDtmfCodec()

IMPORT_C~CMceDtmfCodec()

Destructor.

Member Functions Documentation

CloneL()

IMPORT_C CMceAudioCodec *CloneL()const [virtual]

Clones codec, ownership is transferred.

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 >)

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

Two-phased constructor.

Parameters

TBuf8< KMceMaxSdpNameLength > aSdpNamesdp name

NewLC(TBuf8< KMceMaxSdpNameLength >)

CMceDtmfCodec *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 ( inbound / outbound )

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