CRoomLevel Class Reference

class CRoomLevel : public CAudioEffect

This is the Environmental RoomLevel effect class for managing RoomLevel settings.

RoomLevelEffect.lib
Since
3.0

Inherits from

Public Member Functions
~CRoomLevel ()
IMPORT_C TInt32 Level ()
IMPORT_C void LevelRange ( TInt32 &, TInt32 &)
IMPORT_C CRoomLevel * NewL (CMdaAudioConvertUtility &, CEnvironmentalReverb &)
IMPORT_C CRoomLevel * NewL ( CMdaAudioInputStream &, CEnvironmentalReverb &)
IMPORT_C CRoomLevel * NewL ( CMdaAudioOutputStream &, CEnvironmentalReverb &)
IMPORT_C CRoomLevel * NewL ( CMdaAudioPlayerUtility &, CEnvironmentalReverb &)
IMPORT_C CRoomLevel * NewL (CMdaAudioRecorderUtility &, TBool , CEnvironmentalReverb &)
IMPORT_C CRoomLevel * NewL ( CMdaAudioToneUtility &, CEnvironmentalReverb &)
IMPORT_C CRoomLevel * NewL ( CMMFDevSound &, CEnvironmentalReverb &)
IMPORT_C CRoomLevel * NewL ( CCustomCommandUtility *, CEnvironmentalReverb &)
IMPORT_C CRoomLevel * NewL ( MCustomInterface &, CEnvironmentalReverb &)
IMPORT_C CRoomLevel * NewL (CMidiClientUtility &, CEnvironmentalReverb &)
IMPORT_C CRoomLevel * NewL ( CDrmPlayerUtility &, CEnvironmentalReverb &)
IMPORT_C CRoomLevel * NewL ( CVideoPlayerUtility &, CEnvironmentalReverb &)
IMPORT_C void SetRoomLevelL ( TInt32 )
IMPORT_C TUid Uid ()
Protected Member Functions
CRoomLevel ()
IMPORT_C const TDesC8 & DoEffectData ()
IMPORT_C void SetEffectData (const TDesC8 &)
Inherited Functions
CAudioEffect::ApplyL()
CAudioEffect::CAudioEffect()
CAudioEffect::DisableL()
CAudioEffect::EnableL()
CAudioEffect::EnforceL(TBool)
CAudioEffect::HaveUpdateRights()const
CAudioEffect::IsEnabled()const
CAudioEffect::IsEnforced()const
CAudioEffect::RegisterObserverL(MAudioEffectObserver &)
CAudioEffect::UnRegisterObserver(MAudioEffectObserver &)
CAudioEffect::~CAudioEffect()
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()
Protected Attributes
CEnvironmentalReverb * iClientReverb
TEfRoomLevelDataPckg iDataPckgFrom
TEfRoomLevelDataPckg iDataPckgTo
TEfRoomLevel iRoomLevelData
Inherited Attributes
CAudioEffect::iEnabled
CAudioEffect::iEnforced
CAudioEffect::iHaveUpdateRights
CAudioEffect::iObservers

Constructor & Destructor Documentation

CRoomLevel()

IMPORT_C CRoomLevel ( ) [protected]
Private C++ constructor for this class.
Since
3.0

~CRoomLevel()

IMPORT_C ~CRoomLevel ( ) [virtual]

Destructor

Member Functions Documentation

DoEffectData()

IMPORT_C const TDesC8 & DoEffectData ( ) [protected, virtual]
From CAudioEffect Create a package of the effect data
Since
3.0

Level()

IMPORT_C TInt32 Level ( ) const
Gets the RoomLevel current level in mB
Since
3.0

LevelRange(TInt32 &, TInt32 &)

IMPORT_C void LevelRange ( TInt32 & aMin,
TInt32 & aMax
)
Gets the RoomLevel current level maximum and minimum in mB
Since
3.0

Parameters

TInt32 & aMin Minimum current level
TInt32 & aMax Maximum current level

NewL(CMdaAudioConvertUtility &, CEnvironmentalReverb &)

IMPORT_C CRoomLevel * NewL ( CMdaAudioConvertUtility & aUtility,
CEnvironmentalReverb & aReverb
) [static]
Factory function for creating the audio RoomLevel object.
Since
3.0

Parameters

CMdaAudioConvertUtility & aUtility A reference to a convert utility
CEnvironmentalReverb & aReverb A reference to a environmental reverb utility

NewL(CMdaAudioInputStream &, CEnvironmentalReverb &)

IMPORT_C CRoomLevel * NewL ( CMdaAudioInputStream & aUtility,
CEnvironmentalReverb & aReverb
) [static]
Factory function for creating the audio RoomLevel object.
Since
3.0

Parameters

CMdaAudioInputStream & aUtility A reference to an audio input stream utility
CEnvironmentalReverb & aReverb A reference to a environmental reverb utility

NewL(CMdaAudioOutputStream &, CEnvironmentalReverb &)

IMPORT_C CRoomLevel * NewL ( CMdaAudioOutputStream & aUtility,
CEnvironmentalReverb & aReverb
) [static]
Factory function for creating the audio RoomLevel object.
Since
3.0

Parameters

CMdaAudioOutputStream & aUtility A reference to an audio output stream utility
CEnvironmentalReverb & aReverb A reference to a environmental reverb utility

NewL(CMdaAudioPlayerUtility &, CEnvironmentalReverb &)

IMPORT_C CRoomLevel * NewL ( CMdaAudioPlayerUtility & aUtility,
CEnvironmentalReverb & aReverb
) [static]
Factory function for creating the audio RoomLevel object.
Since
3.0

Parameters

CMdaAudioPlayerUtility & aUtility A reference to an audio player utility
CEnvironmentalReverb & aReverb A reference to a environmental reverb utility

NewL(CMdaAudioRecorderUtility &, TBool, CEnvironmentalReverb &)

IMPORT_C CRoomLevel * NewL ( CMdaAudioRecorderUtility & aUtility,
TBool aRecordStream,
CEnvironmentalReverb & aReverb
) [static]
Factory function for creating the audio RoomLevel object.
Since
3.0

Parameters

CMdaAudioRecorderUtility & aUtility A reference to an audio record utility
TBool aRecordStream ETrue if the effect is to be applied to the recording, EFalse if the effect is to be applied only to the playback
CEnvironmentalReverb & aReverb A reference to a environmental reverb utility

NewL(CMdaAudioToneUtility &, CEnvironmentalReverb &)

IMPORT_C CRoomLevel * NewL ( CMdaAudioToneUtility & aUtility,
CEnvironmentalReverb & aReverb
) [static]
Factory function for creating the audio RoomLevel object.
Since
3.0

Parameters

CMdaAudioToneUtility & aUtility A reference to an audio tone utility
CEnvironmentalReverb & aReverb A reference to a environmental reverb utility

NewL(CMMFDevSound &, CEnvironmentalReverb &)

IMPORT_C CRoomLevel * NewL ( CMMFDevSound & aDevSound,
CEnvironmentalReverb & aReverb
) [static]
Factory function for creating the audio RoomLevel object.
Since
3.0

Parameters

CMMFDevSound & aDevSound A reference to a DevSound instance
CEnvironmentalReverb & aReverb A reference to a environmental reverb utility

NewL(CCustomCommandUtility *, CEnvironmentalReverb &)

IMPORT_C CRoomLevel * NewL ( CCustomCommandUtility * aUtility,
CEnvironmentalReverb & aReverb
) [static]
Factory function for creating the audio RoomLevel object.
Since
3.0

Parameters

CCustomCommandUtility * aUtility A reference to a custom command utility
CEnvironmentalReverb & aReverb A reference to a environmental reverb utility

NewL(MCustomInterface &, CEnvironmentalReverb &)

IMPORT_C CRoomLevel * NewL ( MCustomInterface & aCustomInterface,
CEnvironmentalReverb & aReverb
) [static]
Factory function for creating the audio RoomLevel object.
Since
3.0

Parameters

MCustomInterface & aCustomInterface A reference to a custom interface
CEnvironmentalReverb & aReverb A reference to a environmental reverb utility

NewL(CMidiClientUtility &, CEnvironmentalReverb &)

IMPORT_C CRoomLevel * NewL ( CMidiClientUtility & aUtility,
CEnvironmentalReverb & aReverb
) [static]
Factory function for creating the audio RoomLevel object.
Since
3.0

Parameters

CMidiClientUtility & aUtility A reference to a CMidiClientUtility object
CEnvironmentalReverb & aReverb A reference to a environmental reverb utility

NewL(CDrmPlayerUtility &, CEnvironmentalReverb &)

IMPORT_C CRoomLevel * NewL ( CDrmPlayerUtility & aUtility,
CEnvironmentalReverb & aReverb
) [static]
Factory function for creating the RoomLevel object.
Since
3.0

Parameters

CDrmPlayerUtility & aUtility
CEnvironmentalReverb & aReverb

NewL(CVideoPlayerUtility &, CEnvironmentalReverb &)

IMPORT_C CRoomLevel * NewL ( CVideoPlayerUtility & aUtility,
CEnvironmentalReverb & aReverb
) [static]
Factory function for creating the RoomLevel object.
Since
3.2

Parameters

CVideoPlayerUtility & aUtility
CEnvironmentalReverb & aReverb

SetEffectData(const TDesC8 &)

IMPORT_C void SetEffectData ( const TDesC8 & aEffectDataBuffer ) [protected, virtual]
From CAudioEffect Internal function to unpack effect data
Since
3.0

Parameters

const TDesC8 & aEffectDataBuffer Descriptor containing packed effect data

SetRoomLevelL(TInt32)

IMPORT_C void SetRoomLevelL ( TInt32 aRoomLevel )
Sets the RoomLevel level, it will leave if aRoomLevel is not within range of Min and Max
Since
3.0

Parameters

TInt32 aRoomLevel

Uid()

IMPORT_C TUid Uid ( ) const [virtual]

Member Data Documentation

CEnvironmentalReverb * iClientReverb

CEnvironmentalReverb * iClientReverb [protected]

TEfRoomLevelDataPckg iDataPckgFrom

TEfRoomLevelDataPckg iDataPckgFrom [protected]

TEfRoomLevelDataPckg iDataPckgTo

TEfRoomLevelDataPckg iDataPckgTo [protected]

TEfRoomLevel iRoomLevelData

TEfRoomLevel iRoomLevelData [protected]