CEnvironmentalReverb Class Reference

#include <EnvironmentalReverbBase.h>

Link against: EnvironmentalReverbEffect.lib

class CEnvironmentalReverb : public CAudioEffect

Inherits from

Protected Attributes
TEfEnvReverbDataPckg iDataPckgFrom
TEfEnvReverbDataPckg iDataPckgTo
TEfEnvironmentalReverb iReverbData
Public Member Functions
virtual ~CEnvironmentalReverb()
IMPORT_C TUint32DecayHFRatio()
IMPORT_C voidDecayHFRatioRange(TUint32 &, TUint32 &)
IMPORT_C TUint32DecayTime()
IMPORT_C voidDecayTimeRange(TUint32 &, TUint32 &)
IMPORT_C TUint32DelayMax()
IMPORT_C TUint32Density()
IMPORT_C TUint32Diffusion()
IMPORT_C CEnvironmentalReverb *NewL()
IMPORT_C CEnvironmentalReverb *NewL(CMdaAudioConvertUtility &)
IMPORT_C CEnvironmentalReverb *NewL(CMdaAudioInputStream &)
IMPORT_C CEnvironmentalReverb *NewL(CMdaAudioOutputStream &)
IMPORT_C CEnvironmentalReverb *NewL(CMdaAudioPlayerUtility &)
IMPORT_C CEnvironmentalReverb *NewL(CMdaAudioRecorderUtility &, TBool)
IMPORT_C CEnvironmentalReverb *NewL(CMdaAudioToneUtility &)
IMPORT_C CEnvironmentalReverb *NewL(CMMFDevSound &)
IMPORT_C CEnvironmentalReverb *NewL(CCustomCommandUtility *)
IMPORT_C CEnvironmentalReverb *NewL(MCustomInterface &)
IMPORT_C CEnvironmentalReverb *NewL(CMidiClientUtility &)
IMPORT_C CEnvironmentalReverb *NewL(CDrmPlayerUtility &)
IMPORT_C CEnvironmentalReverb *NewL(CVideoPlayerUtility &)
IMPORT_C voidReflectionLevelRange(TInt32 &, TInt32 &)
IMPORT_C TUint32ReflectionsDelay()
IMPORT_C TUint32ReflectionsDelayMax()
IMPORT_C TInt32ReflectionsLevel()
IMPORT_C TUint32ReverbDelay()
IMPORT_C TUint32ReverbDelayMax()
IMPORT_C TInt32ReverbLevel()
IMPORT_C voidReverbLevelRange(TInt32 &, TInt32 &)
IMPORT_C TInt32RoomHFLevel()
IMPORT_C voidRoomHFLevelRange(TInt32 &, TInt32 &)
IMPORT_C TInt32RoomLevel()
IMPORT_C voidRoomLevelRange(TInt32 &, TInt32 &)
IMPORT_C voidSetDecayHFRatioL(TUint32)
IMPORT_C voidSetDecayTimeL(TUint32)
IMPORT_C voidSetDensityL(TUint32)
IMPORT_C voidSetDiffusionL(TUint32)
IMPORT_C voidSetReflectionsDelayL(TUint32)
IMPORT_C voidSetReflectionsLevelL(TInt32)
IMPORT_C voidSetReverbDelayL(TUint32)
IMPORT_C voidSetReverbLevelL(TInt32)
IMPORT_C voidSetRoomHFLevelL(TInt32)
IMPORT_C voidSetRoomLevelL(TInt32)
virtual IMPORT_C TUidUid()
Protected Member Functions
CEnvironmentalReverb()
virtual IMPORT_C const TDesC8 &DoEffectData()
virtual IMPORT_C voidSetEffectData(const TDesC8 &)
Inherited Attributes
CAudioEffect::iEnabled
CAudioEffect::iEnforced
CAudioEffect::iHaveUpdateRights
CAudioEffect::iObservers
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()

Detailed Description

This is the Environmental Reverb effect class for managing reverb settings.

Since
3.0

Member Attribute Documentation

iDataPckgFrom

TEfEnvReverbDataPckg iDataPckgFrom[protected]

iDataPckgTo

TEfEnvReverbDataPckg iDataPckgTo[protected]

iReverbData

TEfEnvironmentalReverb iReverbData[protected]

Constructor & Destructor Documentation

CEnvironmentalReverb ( )

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

Returns: -

~CEnvironmentalReverb ( )

IMPORT_C~CEnvironmentalReverb()[virtual]

Destructor

Member Function Documentation

DecayHFRatio ( )

IMPORT_C TUint32DecayHFRatio()const
Gets the decay HF Ratio in hundredths
Since
3.0

Returns: decay HF Ratio

DecayHFRatioRange ( TUint32 &, TUint32 & )

IMPORT_C voidDecayHFRatioRange(TUint32 &aMin,
TUint32 &aMax
)
Gets the reverb decay HF Ratio minimum and maximum in hundredths.
Since
3.0
ParameterDescription
aMinMinimum decay HF Ratio
aMaxMaximum decay HF Ratio

DecayTime ( )

IMPORT_C TUint32DecayTime()const
Gets the decay time in milliseconds
Since
3.0

Returns: decay time

DecayTimeRange ( TUint32 &, TUint32 & )

IMPORT_C voidDecayTimeRange(TUint32 &aMin,
TUint32 &aMax
)
Gets the allowable reverb decay time range in milliseconds.
Since
3.0
ParameterDescription
aMinMinimum decay time in milliseconds
aMaxMaximum decay time in milliseconds

DelayMax ( )

IMPORT_C TUint32DelayMax()const
Gets the total delay maximum in milliseconds
Since
3.0

Returns: reverb delay maximum

Density ( )

IMPORT_C TUint32Density()const
Gets the density current value as a percentage in hundredths
Since
3.0

Returns: density value

Diffusion ( )

IMPORT_C TUint32Diffusion()const
Gets the diffusion current value as a percentage in hundredths.
Since
3.0

Returns: diffusion value

DoEffectData ( )

IMPORT_C const TDesC8 &DoEffectData()[protected, virtual]

Reimplemented from CAudioEffect::DoEffectData()

From CAudioEffect Create a package of the effect data
Since
3.0

Returns: A descriptor containing the effect data.

NewL ( )

IMPORT_C CEnvironmentalReverb *NewL()[static]
Factory function for creating the audio reverb object.
Since
3.0

Returns: pointer to CEnvironmentalReverb object

NewL ( CMdaAudioConvertUtility & )

IMPORT_C CEnvironmentalReverb *NewL(CMdaAudioConvertUtility &aUtility)[static]
Factory function for creating the audio reverb object.
Since
3.0
ParameterDescription
aUtilityA reference to a convert utility

Returns: pointer to CEnvironmentalReverb object

NewL ( CMdaAudioInputStream & )

IMPORT_C CEnvironmentalReverb *NewL(CMdaAudioInputStream &aUtility)[static]
Factory function for creating the audio reverb object.
Since
3.0
ParameterDescription
aUtilityA reference to an audio input stream utility

Returns: pointer to CEnvironmentalReverb object

NewL ( CMdaAudioOutputStream & )

IMPORT_C CEnvironmentalReverb *NewL(CMdaAudioOutputStream &aUtility)[static]
Factory function for creating the audio reverb object.
Since
3.0
ParameterDescription
aUtilityA reference to an audio output stream utility

Returns: pointer to CEnvironmentalReverb object

NewL ( CMdaAudioPlayerUtility & )

IMPORT_C CEnvironmentalReverb *NewL(CMdaAudioPlayerUtility &aUtility)[static]
Factory function for creating the audio reverb object.
Since
3.0
ParameterDescription
aUtilityA reference to an audio player utility

Returns: pointer to CEnvironmentalReverb object

NewL ( CMdaAudioRecorderUtility &, TBool )

IMPORT_C CEnvironmentalReverb *NewL(CMdaAudioRecorderUtility &aUtility,
TBoolaRecordStream
)[static]
Factory function for creating the audio reverb object.
Since
3.0
ParameterDescription
aUtilityA reference to an audio record utility
aRecordStreamETrue if the effect is to be applied to the recording, EFalse if the effect is to be applied only to the playback

Returns: pointer to CEnvironmentalReverb object

NewL ( CMdaAudioToneUtility & )

IMPORT_C CEnvironmentalReverb *NewL(CMdaAudioToneUtility &aUtility)[static]
Factory function for creating the audio reverb object.
Since
3.0
ParameterDescription
aUtilityA reference to an audio tone utility

Returns: pointer to CEnvironmentalReverb object

NewL ( CMMFDevSound & )

IMPORT_C CEnvironmentalReverb *NewL(CMMFDevSound &aDevSound)[static]
Factory function for creating the audio reverb object.
Since
3.0
ParameterDescription
aDevSoundA reference to a DevSound instance

Returns: pointer to CEnvironmentalReverb object

NewL ( CCustomCommandUtility * )

IMPORT_C CEnvironmentalReverb *NewL(CCustomCommandUtility *aUtility)[static]
Factory function for creating the audio reverb object.
Since
3.0
ParameterDescription
aUtilityA reference to a custom command utility

Returns: pointer to CEnvironmentalReverb object

NewL ( MCustomInterface & )

IMPORT_C CEnvironmentalReverb *NewL(MCustomInterface &aCustomInterface)[static]
Factory function for creating the audio reverb object.
Since
3.0
ParameterDescription
aCustomInterfaceA reference to a custom interface

Returns: pointer to CEnvironmentalReverb object

NewL ( CMidiClientUtility & )

IMPORT_C CEnvironmentalReverb *NewL(CMidiClientUtility &aUtility)[static]
Factory function for creating the audio reverb object.
Since
3.0
ParameterDescription
aUtilityA reference to a CMidiClientUtility object

Returns: pointer to CEnvironmentalReverb object

NewL ( CDrmPlayerUtility & )

IMPORT_C CEnvironmentalReverb *NewL(CDrmPlayerUtility &aUtility)[static]
Factory function for creating the audio equalizer object.
Since
3.0

Returns: pointer to CAudioEqualizer object

NewL ( CVideoPlayerUtility & )

IMPORT_C CEnvironmentalReverb *NewL(CVideoPlayerUtility &aUtility)[static]
Factory function for creating the audio equalizer object.
Since
3.2

Returns: pointer to CAudioEqualizer object

ReflectionLevelRange ( TInt32 &, TInt32 & )

IMPORT_C voidReflectionLevelRange(TInt32 &aMin,
TInt32 &aMax
)
Gets the reverb reflections level maximum and minimum in mB
Since
3.0
ParameterDescription
aMinMinimum reflections level
aMaxMaximum reflections level

ReflectionsDelay ( )

IMPORT_C TUint32ReflectionsDelay()const
Gets the reverb reflections delay in ms.
Since
3.0

Returns: reverb reflections delay

ReflectionsDelayMax ( )

IMPORT_C TUint32ReflectionsDelayMax()const
Gets the reverb reflections delay maximum in milliseconds.
Since
3.0

Returns: reverb reflections delay maximum

ReflectionsLevel ( )

IMPORT_C TInt32ReflectionsLevel()const
Gets the reverb reflections level in mB
Since
3.0

Returns: Reverb reflections level

ReverbDelay ( )

IMPORT_C TUint32ReverbDelay()const
Gets the reverb delay in milliseconds
Since
3.0

Returns: reverb delay

ReverbDelayMax ( )

IMPORT_C TUint32ReverbDelayMax()const
Gets the reverb delay maximum in milliseconds
Since
3.0

Returns: reverb delay maximum

ReverbLevel ( )

IMPORT_C TInt32ReverbLevel()const
Gets the reverb current level in mB
Since
3.0

Returns: reverb current level

ReverbLevelRange ( TInt32 &, TInt32 & )

IMPORT_C voidReverbLevelRange(TInt32 &aMin,
TInt32 &aMax
)
Gets the reverb current level maximum and minimum in mB
Since
3.0
ParameterDescription
aMinMinimum current level
aMaxMaximum current level

Returns: -

RoomHFLevel ( )

IMPORT_C TInt32RoomHFLevel()const
Gets the room HF level current ratio
Since
3.0

Returns: room HF level ratio

RoomHFLevelRange ( TInt32 &, TInt32 & )

IMPORT_C voidRoomHFLevelRange(TInt32 &aMin,
TInt32 &aMax
)
Gets the room HF level maximum and minimum ratios
Since
3.0
ParameterDescription
aMinMinimum current room HF level
aMaxMaximum current room HF level

Returns: -

RoomLevel ( )

IMPORT_C TInt32RoomLevel()const
Gets the room level current value in mB
Since
3.0

Returns: room level value

RoomLevelRange ( TInt32 &, TInt32 & )

IMPORT_C voidRoomLevelRange(TInt32 &aMin,
TInt32 &aMax
)
Gets the room level maximum and minimum in mB
Since
3.0
ParameterDescription
aMinMinimum current room level
aMaxMaximum current room level

Returns: -

SetDecayHFRatioL ( TUint32 )

IMPORT_C voidSetDecayHFRatioL(TUint32aDecayHFRatio)
Sets the decay HF Ratio in hundredths
Since
3.0
ParameterDescription
aDecayHFRatioThe decay high frequence ratio in hundredths

Returns: -

SetDecayTimeL ( TUint32 )

IMPORT_C voidSetDecayTimeL(TUint32aDecayTime)
Sets the decay time in millisecond
Since
3.0
ParameterDescription
aDecayTimeDecay time in ms

SetDensityL ( TUint32 )

IMPORT_C voidSetDensityL(TUint32aDensity)
Sets the density value as percentage in hundredths
Since
3.0
ParameterDescription
aDensityThe density.

SetDiffusionL ( TUint32 )

IMPORT_C voidSetDiffusionL(TUint32aDiffusion)
Sets the diffusion value as a percentage in hundredths
Since
3.0
ParameterDescription
aDiffusionThe diffusion.

SetEffectData ( const TDesC8 & )

IMPORT_C voidSetEffectData(const TDesC8 &aEffectDataBuffer)[protected, virtual]
From CAudioEffect Internal function to unpack effect data
Since
3.0
ParameterDescription
aEffectDataBufferDescriptor containing packed effect data

Returns: -

SetReflectionsDelayL ( TUint32 )

IMPORT_C voidSetReflectionsDelayL(TUint32aReflectionsDelay)
Sets the reverb reflections delay
Since
3.0

SetReflectionsLevelL ( TInt32 )

IMPORT_C voidSetReflectionsLevelL(TInt32aReflectionsLevel)
Sets the reverb reflections level in milli-dB
Since
3.0

SetReverbDelayL ( TUint32 )

IMPORT_C voidSetReverbDelayL(TUint32aReverbDelay)
Sets the reverb delay
Since
3.0
ParameterDescription
aReverbDelayThe reverb delay in ms

SetReverbLevelL ( TInt32 )

IMPORT_C voidSetReverbLevelL(TInt32aReverbLevel)
Sets the reverb level
Since
3.0
ParameterDescription
aReverbLevelThe reverb level in mB

SetRoomHFLevelL ( TInt32 )

IMPORT_C voidSetRoomHFLevelL(TInt32aRoomHFLevel)
Sets the room HF level ratio
Since
3.0
ParameterDescription
aRoomHFLevelThe room high frequency ratio

SetRoomLevelL ( TInt32 )

IMPORT_C voidSetRoomLevelL(TInt32aRoomLevel)
Sets the room level value in milli-dB
Since
3.0
ParameterDescription
aRoomLevelThe room level

Uid ( )

IMPORT_C TUidUid()const [virtual]

Reimplemented from CAudioEffect::Uid()const