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 TInt EnableVAD ( TBool )
CMceDtmfCodec * NewL ( TBuf8 < KMceMaxSdpNameLength >)
CMceDtmfCodec * NewLC ( TBuf8 < KMceMaxSdpNameLength >)
IMPORT_C TInt SetAllowedBitrates ( TUint )
IMPORT_C TInt SetBitrate ( TUint )
IMPORT_C TInt SetCodecMode ( TUint )
IMPORT_C TInt SetMaxPTime ( TUint )
IMPORT_C TInt SetPTime ( TUint )
IMPORT_C TInt SetPayloadType ( TUint8 )
IMPORT_C TInt SetSamplingFreq ( TUint )
Private Member Functions
CMceDtmfCodec ()
void ConstructL ( TBuf8 < KMceMaxSdpNameLength >)
void SetSdpNameL (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 >)

void ConstructL ( TBuf8 < KMceMaxSdpNameLength > aSdpName ) [private]

By default Symbian 2nd phase constructor is private.

Parameters

TBuf8 < KMceMaxSdpNameLength > aSdpName

EnableVAD(TBool)

IMPORT_C TInt EnableVAD ( TBool aEnableVAD ) [virtual]

Enable / Disable Voice Activity Detection.

Parameters

TBool aEnableVAD

NewL(TBuf8< KMceMaxSdpNameLength >)

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

Two-phased constructor.

Parameters

TBuf8 < KMceMaxSdpNameLength > aSdpName sdp name

NewLC(TBuf8< KMceMaxSdpNameLength >)

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

Two-phased constructor.

Parameters

TBuf8 < KMceMaxSdpNameLength > aSdpName sdp name

SetAllowedBitrates(TUint)

IMPORT_C TInt SetAllowedBitrates ( TUint aBitrates ) [virtual]

Sets bitrates allowed with codec.

Parameters

TUint aBitrates

SetBitrate(TUint)

IMPORT_C TInt SetBitrate ( TUint aBitrate ) [virtual]

Sets bitrate used with codec for encoding.

Parameters

TUint aBitrate

SetCodecMode(TUint)

IMPORT_C TInt SetCodecMode ( TUint aCodecMode ) [virtual]

Sets the codec mode.

Parameters

TUint aCodecMode Codec mode ( inbound / outbound )

SetMaxPTime(TUint)

IMPORT_C TInt SetMaxPTime ( TUint aMaxPTime ) [virtual]

Sets the maximum packetization rate.

Parameters

TUint aMaxPTime

SetPTime(TUint)

IMPORT_C TInt SetPTime ( TUint aPTime ) [virtual]

Sets the packetization rate.

Parameters

TUint aPTime

SetPayloadType(TUint8)

IMPORT_C TInt SetPayloadType ( TUint8 aPayloadType ) [virtual]

Sets the payload type identifier.

Parameters

TUint8 aPayloadType payload type identifier.

SetSamplingFreq(TUint)

IMPORT_C TInt SetSamplingFreq ( TUint aSamplingFreq ) [virtual]

Sets the sampling frequency.

Parameters

TUint aSamplingFreq

SetSdpNameL(const TDesC8 &)

void SetSdpNameL ( const TDesC8 & aSdpName ) [private, virtual]

Sets the sdp name.

Parameters

const TDesC8 & aSdpName the sdp name