CRoomLevel Class Reference
#include
<RoomLevelBase.h>
Link against: RoomLevelEffect.lib
class CRoomLevel : public CAudioEffect |
Public Member Functions |
---|
virtual | ~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) |
virtual IMPORT_C TUid | Uid() |
Detailed Description
This is the Environmental RoomLevel effect class for managing RoomLevel settings.
Member Attribute Documentation
iClientReverb
CEnvironmentalReverb * | iClientReverb | [protected] |
Constructor & Destructor Documentation
CRoomLevel ( )
IMPORT_C | CRoomLevel | ( | ) | [protected] |
Private C++ constructor for this class.
- Since
- 3.0
~CRoomLevel ( )
IMPORT_C | ~CRoomLevel | ( | ) | [virtual] |
Member Function Documentation
DoEffectData ( )
IMPORT_C const TDesC8 & | DoEffectData | ( | ) | [protected, virtual] |
From
CAudioEffect Create a package of the effect data
- Since
- 3.0
Returns: A descriptor containing the effect data.
Level ( )
Gets the RoomLevel current level in mB
- Since
- 3.0
Returns: RoomLevel current level
LevelRange ( TInt32 &, TInt32 & )
Gets the RoomLevel current level maximum and minimum in mB
- Since
- 3.0
Parameter | Description | aMin | Minimum current level |
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
Parameter | Description | aUtility | A reference to a convert utility |
aReverb | A reference to a environmental reverb utility |
Returns: pointer to CRoomLevel object
NewL ( CMdaAudioInputStream &, CEnvironmentalReverb & )
Factory function for creating the audio RoomLevel object.
- Since
- 3.0
Parameter | Description | aUtility | A reference to an audio input stream utility |
aReverb | A reference to a environmental reverb utility |
Returns: pointer to CRoomLevel object
NewL ( CMdaAudioOutputStream &, CEnvironmentalReverb & )
Factory function for creating the audio RoomLevel object.
- Since
- 3.0
Parameter | Description | aUtility | A reference to an audio output stream utility |
aReverb | A reference to a environmental reverb utility |
Returns: pointer to CRoomLevel object
NewL ( CMdaAudioPlayerUtility &, CEnvironmentalReverb & )
Factory function for creating the audio RoomLevel object.
- Since
- 3.0
Parameter | Description | aUtility | A reference to an audio player utility |
aReverb | A reference to a environmental reverb utility |
Returns: pointer to CRoomLevel object
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
Parameter | Description | aUtility | A reference to an audio record utility |
aRecordStream | ETrue if the effect is to be applied to the recording, EFalse if the effect is to be applied only to the playback |
aReverb | A reference to a environmental reverb utility |
Returns: pointer to CRoomLevel object
NewL ( CMdaAudioToneUtility &, CEnvironmentalReverb & )
Factory function for creating the audio RoomLevel object.
- Since
- 3.0
Parameter | Description | aUtility | A reference to an audio tone utility |
aReverb | A reference to a environmental reverb utility |
Returns: pointer to CRoomLevel object
NewL ( CMMFDevSound &, CEnvironmentalReverb & )
Factory function for creating the audio RoomLevel object.
- Since
- 3.0
Parameter | Description | aDevSound | A reference to a DevSound instance |
aReverb | A reference to a environmental reverb utility |
Returns: pointer to CRoomLevel object
NewL ( CCustomCommandUtility *, CEnvironmentalReverb & )
Factory function for creating the audio RoomLevel object.
- Since
- 3.0
Parameter | Description | aUtility | A reference to a custom command utility |
aReverb | A reference to a environmental reverb utility |
Returns: pointer to CRoomLevel object
NewL ( MCustomInterface &, CEnvironmentalReverb & )
Factory function for creating the audio RoomLevel object.
- Since
- 3.0
Parameter | Description | aCustomInterface | A reference to a custom interface |
aReverb | A reference to a environmental reverb utility |
Returns: pointer to CRoomLevel object
NewL ( CMidiClientUtility &, CEnvironmentalReverb & )
IMPORT_C CRoomLevel * | NewL | ( | CMidiClientUtility & | aUtility, |
| CEnvironmentalReverb & | aReverb |
| ) | [static] |
Factory function for creating the audio RoomLevel object.
- Since
- 3.0
Parameter | Description | aUtility | A reference to a CMidiClientUtility object |
aReverb | A reference to a environmental reverb utility |
Returns: pointer to CRoomLevel object
NewL ( CDrmPlayerUtility &, CEnvironmentalReverb & )
Factory function for creating the RoomLevel object.
- Since
- 3.0
Returns: pointer to CRoomLevel object
NewL ( CVideoPlayerUtility &, CEnvironmentalReverb & )
Factory function for creating the RoomLevel object.
- Since
- 3.2
Returns: pointer to CRoomLevel object
SetEffectData ( const TDesC8 & )
IMPORT_C void | SetEffectData | ( | const TDesC8 & | aEffectDataBuffer | ) | [protected, virtual] |
From
CAudioEffect Internal function to unpack effect data
- Since
- 3.0
Parameter | Description | 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] |