CMceAudioCodec Class Reference

class CMceAudioCodec : public CMceCodec

Container class for audio codecs.

It defines attributes that can be set and get from audio codec. These attributes are used in single audio stream and they are negotiated with remote terminal.

mceclient.lib

Inherits from

Public Member Functions
~CMceAudioCodec ()
CMceAudioCodec * CloneL ()
TInt ComparePreferences (const CMceAudioCodec &, const CMceAudioCodec &)
TInt EnableVAD ( TBool )
TMceAudioCodecFactory Factory ()
void InitializeL ( CMceMediaStream &)
TUint MaxPTime ()
TUint PTime ()
TUint SamplingFreq ()
TInt SetMaxPTime ( TUint )
TInt SetPTime ( TUint )
TInt SetSamplingFreq ( TUint )
TBool VAD ()
Protected Member Functions
CMceAudioCodec ()
void ConstructL ( CMceComAudioCodec *)
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()
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::SetAllowedBitrates(TUint)
CMceCodec::SetBitrate(TUint)
CMceCodec::SetCodecMode(TUint)
CMceCodec::SetKeepAliveDataL(const TDesC8 &)
CMceCodec::SetKeepAlivePayloadTypeL(TUint8)
CMceCodec::SetKeepAliveTimerL(TUint8)
CMceCodec::SetMMFPriorityL(TInt)
CMceCodec::SetMMFPriorityPreferenceL(TInt)
CMceCodec::SetPayloadType(TUint8)
CMceCodec::SetPreferenceL(TInt)
CMceCodec::SetSdpNameL(const TDesC8 &)
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

CMceAudioCodec()

CMceAudioCodec ( ) [protected]

C++ default constructor.

~CMceAudioCodec()

~CMceAudioCodec ( ) [virtual]

Destructor.

Member Functions Documentation

CloneL()

CMceAudioCodec * CloneL ( ) const [pure virtual]

Clones codec, ownership is transferred.

ComparePreferences(const CMceAudioCodec &, const CMceAudioCodec &)

TInt ComparePreferences ( const CMceAudioCodec & aIndex1,
const CMceAudioCodec & aIndex2
) [static]

Parameters

const CMceAudioCodec & aIndex1
const CMceAudioCodec & aIndex2

ConstructL(CMceComAudioCodec *)

void ConstructL ( CMceComAudioCodec * aFlatData ) [protected]

second-phase constructor flat data container

Parameters

CMceComAudioCodec * aFlatData

EnableVAD(TBool)

TInt EnableVAD ( TBool aEnableVAD ) [pure virtual]

Enable / Disable Voice Activity Detection.

Parameters

TBool aEnableVAD

Factory()

TMceAudioCodecFactory Factory ( ) [static]

Factory

InitializeL(CMceMediaStream &)

void InitializeL ( CMceMediaStream & aParent ) [virtual]

Initializes

Parameters

CMceMediaStream & aParent the parent

MaxPTime()

TUint MaxPTime ( ) const [virtual]

Gets max packetization rate.

PTime()

TUint PTime ( ) const [virtual]

Gets the packetization rate.

SamplingFreq()

TUint SamplingFreq ( ) const [virtual]

Gets sampling frequency used currently.

SetMaxPTime(TUint)

TInt SetMaxPTime ( TUint aMaxPTime ) [pure virtual]

Sets the maximum packetization rate.

Parameters

TUint aMaxPTime

SetPTime(TUint)

TInt SetPTime ( TUint aPTime ) [pure virtual]

Sets the packetization rate.

Parameters

TUint aPTime

SetSamplingFreq(TUint)

TInt SetSamplingFreq ( TUint aSamplingFreq ) [pure virtual]

Sets the sampling frequency.

Parameters

TUint aSamplingFreq

VAD()

TBool VAD ( ) const [virtual]

Get VAD status.