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 TInt EnableVAD ( TBool )
CMceG711Codec * NewL ( TBuf8 < KMceMaxSdpNameLength >)
CMceG711Codec * 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
CMceG711Codec ()
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

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

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

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

Two-phased constructor.

Parameters

TBuf8 < KMceMaxSdpNameLength > aSdpName sdp name

NewLC(TBuf8< KMceMaxSdpNameLength >)

CMceG711Codec * 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 (PCMU / PCMA )

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