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 void DisableL ()
IMPORT_C void EnableL ()
IMPORT_C TInt MaxVolumeL ()
IMPORT_C CMceSpeakerSink * NewL ()
IMPORT_C CMceSpeakerSink * NewLC ()
IMPORT_C TInt RoutingL ()
IMPORT_C void SetRoutingL ( TInt )
IMPORT_C void SetVolumeL ( TInt )
TBool UsesEndpointProxy ()
IMPORT_C TInt VolumeL ()
Private Member Functions
CMceSpeakerSink ()
void ConstructL ()
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()

void ConstructL ( ) [private]

second-phase constructor

CreateEndpointProxyL()

MMceEndPointProxy * CreateEndpointProxyL ( ) const [virtual]

Called endpoint proxy must be created

DisableL()

IMPORT_C void DisableL ( ) [virtual]

Disables the sink explicitly.

EnableL()

IMPORT_C void EnableL ( ) [virtual]

Enables the sink explicitly.

MaxVolumeL()

IMPORT_C TInt MaxVolumeL ( ) 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 TInt RoutingL ( ) const

Gets current audio routing.

SetRoutingL(TInt)

IMPORT_C void SetRoutingL ( TInt aRoute )

Sets audio routing

Parameters

TInt aRoute Required audio route, like KMceAudioRoutePublic.

SetVolumeL(TInt)

IMPORT_C void SetVolumeL ( TInt aVolume )

Sets volume

Parameters

TInt aVolume volume value

UsesEndpointProxy()

TBool UsesEndpointProxy ( ) const [virtual]

Should this endpoint use endpoint proxy

VolumeL()

IMPORT_C TInt VolumeL ( ) const

Gets current volume