CBassBoost Class Reference

class CBassBoost : public CAudioEffect

This is the bass boost effect class for managing audio bass boost settings.

BassBoostUtility.lib
Since
3.0

Inherits from

Public Member Functions
~CBassBoost ()
IMPORT_C CBassBoost * NewL ( CMMFDevSound &, TBool )
IMPORT_C CBassBoost * NewL (CMdaAudioConvertUtility &, TBool )
IMPORT_C CBassBoost * NewL ( CMdaAudioInputStream &, TBool )
IMPORT_C CBassBoost * NewL ( CMdaAudioOutputStream &, TBool )
IMPORT_C CBassBoost * NewL ( CMdaAudioPlayerUtility &, TBool )
IMPORT_C CBassBoost * NewL (CMdaAudioRecorderUtility &, TBool , TBool )
IMPORT_C CBassBoost * NewL ( CMdaAudioToneUtility &, TBool )
IMPORT_C CBassBoost * NewL ( CCustomCommandUtility *, TBool )
IMPORT_C CBassBoost * NewL ( MCustomInterface &, TBool )
IMPORT_C CBassBoost * NewL (CMidiClientUtility &, TBool )
IMPORT_C CBassBoost * NewL ( CDrmPlayerUtility &, TBool )
IMPORT_C CBassBoost * NewL ( CVideoPlayerUtility &, TBool )
IMPORT_C TUid Uid ()
Protected Member Functions
CBassBoost ()
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
TEfBassBoostData iBassBoostData
TEfBassBoostDataPckg iDataPckgFrom
TEfBassBoostDataPckg iDataPckgTo
Inherited Attributes
CAudioEffect::iEnabled
CAudioEffect::iEnforced
CAudioEffect::iHaveUpdateRights
CAudioEffect::iObservers

Constructor & Destructor Documentation

CBassBoost()

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

~CBassBoost()

IMPORT_C ~CBassBoost ( ) [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

NewL(CMMFDevSound &, TBool)

IMPORT_C CBassBoost * NewL ( CMMFDevSound & aDevSound,
TBool aEnable = EFalse
) [static]
Factory function for creating the bass boost object.
Since
3.0

Parameters

CMMFDevSound & aDevSound A reference to a DevSound instance
TBool aEnable = EFalse Indicate whether the effect will be automatically enabled after creation.

NewL(CMdaAudioConvertUtility &, TBool)

IMPORT_C CBassBoost * NewL ( CMdaAudioConvertUtility & aUtility,
TBool aEnable = EFalse
) [static]
Factory function for creating the bass boost object.
Since
3.0

Parameters

CMdaAudioConvertUtility & aUtility A reference to an audio convert utility
TBool aEnable = EFalse Indicate whether the effect will be automatically enabled after creation.

NewL(CMdaAudioInputStream &, TBool)

IMPORT_C CBassBoost * NewL ( CMdaAudioInputStream & aUtility,
TBool aEnable = EFalse
) [static]
Factory function for creating the bass boost object.
Since
3.0

Parameters

CMdaAudioInputStream & aUtility A reference to an audio input stream utility
TBool aEnable = EFalse Indicate whether the effect will be automatically enabled after creation.

NewL(CMdaAudioOutputStream &, TBool)

IMPORT_C CBassBoost * NewL ( CMdaAudioOutputStream & aUtility,
TBool aEnable = EFalse
) [static]
Factory function for creating the bass boost object.
Since
3.0

Parameters

CMdaAudioOutputStream & aUtility A reference to an audio output stream utility
TBool aEnable = EFalse Indicate whether the effect will be automatically enabled after creation.

NewL(CMdaAudioPlayerUtility &, TBool)

IMPORT_C CBassBoost * NewL ( CMdaAudioPlayerUtility & aUtility,
TBool aEnable = EFalse
) [static]
Factory function for creating the bass boost object.
Since
3.0

Parameters

CMdaAudioPlayerUtility & aUtility A reference to an audio player utility
TBool aEnable = EFalse Indicate whether the effect will be automatically enabled after creation.

NewL(CMdaAudioRecorderUtility &, TBool, TBool)

IMPORT_C CBassBoost * NewL ( CMdaAudioRecorderUtility & aUtility,
TBool aRecordStream,
TBool aEnable = EFalse
) [static]
Factory function for creating the bass boost 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
TBool aEnable = EFalse Indicate whether the effect will be automatically enabled after creation.

NewL(CMdaAudioToneUtility &, TBool)

IMPORT_C CBassBoost * NewL ( CMdaAudioToneUtility & aUtility,
TBool aEnable = EFalse
) [static]
Factory function for creating the bass boost object.
Since
3.0

Parameters

CMdaAudioToneUtility & aUtility A reference to an audio tone utility
TBool aEnable = EFalse Indicate whether the effect will be automatically enabled after creation.

NewL(CCustomCommandUtility *, TBool)

IMPORT_C CBassBoost * NewL ( CCustomCommandUtility * aUtility,
TBool aEnable = EFalse
) [static]
Factory function for creating the bass boost object.
Since
3.0

Parameters

CCustomCommandUtility * aUtility A reference to a custom command utility
TBool aEnable = EFalse Indicate whether the effect will be automatically enabled after creation.

NewL(MCustomInterface &, TBool)

IMPORT_C CBassBoost * NewL ( MCustomInterface & aCustomInterface,
TBool aEnable = EFalse
) [static]
Factory function for creating the bass boost object.
Since
3.0

Parameters

MCustomInterface & aCustomInterface A reference to a custom interface
TBool aEnable = EFalse Indicate whether the effect will be automatically enabled after creation.

NewL(CMidiClientUtility &, TBool)

IMPORT_C CBassBoost * NewL ( CMidiClientUtility & aUtility,
TBool aEnable = EFalse
) [static]
Factory function for creating the bass boost object.
Since
3.0

Parameters

CMidiClientUtility & aUtility A reference to a CMidiClientUtility
TBool aEnable = EFalse Indicate whether the effect will be automatically enabled after creation.

NewL(CDrmPlayerUtility &, TBool)

IMPORT_C CBassBoost * NewL ( CDrmPlayerUtility & aUtility,
TBool aEnable = EFalse
) [static]
Factory function for creating the bass boost object.
Since
3.0

Parameters

CDrmPlayerUtility & aUtility
TBool aEnable = EFalse

NewL(CVideoPlayerUtility &, TBool)

IMPORT_C CBassBoost * NewL ( CVideoPlayerUtility & aUtility,
TBool aEnable = EFalse
) [static]
Factory function for creating the bass boost object.
Since
3.2

Parameters

CVideoPlayerUtility & aUtility
TBool aEnable = EFalse

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

Uid()

IMPORT_C TUid Uid ( ) const [virtual]

Member Data Documentation

TEfBassBoostData iBassBoostData

TEfBassBoostData iBassBoostData [protected]

TEfBassBoostDataPckg iDataPckgFrom

TEfBassBoostDataPckg iDataPckgFrom [protected]

TEfBassBoostDataPckg iDataPckgTo

TEfBassBoostDataPckg iDataPckgTo [protected]