CMceSpeakerSink Class Reference

class CMceSpeakerSink : public CMceMediaSink

Class representing speaker in MCE.

CMceSpeakerSink can be used to play out audio.

Enable (un-mute) and Disable (mute) operations to it are considered to be local, so they are not signalled to remote terminal.

mceclient.lib

Inherits from

Public Member Functions
~CMceSpeakerSink()
MMceEndPointProxy *CreateEndpointProxyL()
IMPORT_C voidDisableL()
IMPORT_C voidEnableL()
IMPORT_C TIntMaxVolumeL()
IMPORT_C CMceSpeakerSink *NewL()
IMPORT_C CMceSpeakerSink *NewLC()
IMPORT_C TIntRoutingL()
IMPORT_C voidSetRoutingL(TInt)
IMPORT_C voidSetVolumeL(TInt)
TBool UsesEndpointProxy()
IMPORT_C TIntVolumeL()
Private Member Functions
CMceSpeakerSink()
voidConstructL()
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()
CMceMediaSink::CMceMediaSink()
CMceMediaSink::ConstructL(CMceComMediaSink *)
CMceMediaSink::DoDisableL()
CMceMediaSink::DoEnableL()
CMceMediaSink::Enabled(TBool)
CMceMediaSink::EndpointProxy()const
CMceMediaSink::EventReceivedL(TMceEvent &)
CMceMediaSink::ExternalizeFlatL(RWriteStream &)
CMceMediaSink::ExternalizeL(MMceComSerializationContext &)
CMceMediaSink::Factory()
CMceMediaSink::HandleEvent(TMceEvent &)
CMceMediaSink::Id()const
CMceMediaSink::InitializeL(CMceManager *)
CMceMediaSink::InitializeL(CMceMediaStream &)
CMceMediaSink::InternalizeFlatL(RReadStream &)
CMceMediaSink::InternalizeL(MMceComSerializationContext &)
CMceMediaSink::IsEnabled()const
CMceMediaSink::ReferenceCount()
CMceMediaSink::SerializationId()const
CMceMediaSink::SetupEndpointProxyL(MMceEndPointProxy *)
CMceMediaSink::StreamAddedL(CMceMediaStream &)
CMceMediaSink::Type()const
CMceMediaSink::UnInitialize(CMceMediaStream &)
CMceMediaSink::UpdateL(CMceMediaSink &)
CMceMediaSink::Updated()
CMceMediaSink::~CMceMediaSink()
Inherited Attributes
CMceMediaSink::iEndpointProxy
CMceMediaSink::iFlatData
CMceMediaSink::iParents
CMceMediaSink::iStream

Constructor & Destructor Documentation

CMceSpeakerSink()

CMceSpeakerSink()[private]

C++ default constructor.

~CMceSpeakerSink()

IMPORT_C~CMceSpeakerSink()

Destructor.

Member Functions Documentation

ConstructL()

voidConstructL()[private]

second-phase constructor

CreateEndpointProxyL()

MMceEndPointProxy *CreateEndpointProxyL()const [virtual]

Called endpoint proxy must be created

DisableL()

IMPORT_C voidDisableL()[virtual]

Disables the sink explicitly.

EnableL()

IMPORT_C voidEnableL()[virtual]

Enables the sink explicitly.

MaxVolumeL()

IMPORT_C TIntMaxVolumeL()const

Gets maximum volume

NewL()

IMPORT_C CMceSpeakerSink *NewL()[static]

Two-phased constructor.

NewLC()

IMPORT_C CMceSpeakerSink *NewLC()[static]

Two-phased constructor.

RoutingL()

IMPORT_C TIntRoutingL()const

Gets current audio routing.

SetRoutingL(TInt)

IMPORT_C voidSetRoutingL(TIntaRoute)

Sets audio routing

Parameters

TInt aRouteRequired audio route, like KMceAudioRoutePublic.

SetVolumeL(TInt)

IMPORT_C voidSetVolumeL(TIntaVolume)

Sets volume

Parameters

TInt aVolumevolume value

UsesEndpointProxy()

TBool UsesEndpointProxy()const [virtual]

Should this endpoint use endpoint proxy

VolumeL()

IMPORT_C TIntVolumeL()const

Gets current volume