CRoomLevel Class Reference
class CRoomLevel : public CAudioEffect
|
This is the Environmental RoomLevel effect class for managing RoomLevel settings.
RoomLevelEffect.lib
-
Since
-
3.0
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
()
|
Constructor & Destructor Documentation
CRoomLevel()
IMPORT_C
|
CRoomLevel
|
(
|
)
|
[protected]
|
Private C++ constructor for this class.
-
Since
-
3.0
~CRoomLevel()
IMPORT_C
|
~CRoomLevel
|
(
|
)
|
[virtual]
|
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 &)
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 &)
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 &)
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 &)
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 &)
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 &)
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 &)
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 &)
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 &)
Factory function for creating the RoomLevel object.
-
Since
-
3.0
NewL(CVideoPlayerUtility &, CEnvironmentalReverb &)
Factory function for creating the RoomLevel object.
-
Since
-
3.2
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
Uid()
IMPORT_C
TUid
|
Uid
|
(
|
)
|
const [virtual]
|
Member Data Documentation
CEnvironmentalReverb * iClientReverb
CEnvironmentalReverb *
|
iClientReverb
|
[protected]
|
TEfRoomLevelDataPckg
iDataPckgFrom
TEfRoomLevelDataPckg
iDataPckgTo
TEfRoomLevel
iRoomLevelData
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.