CStereoWideningUtility Class Reference

class CStereoWideningUtility : public CBase

This is the StereoWidening Utility class for managing audio StereoWidening presets.

StereoWideningUtility.lib
Since
3.0

Inherits from

  • CStereoWideningUtility
Public Member Functions
~CStereoWideningUtility()
IMPORT_C voidApplyPresetL(TInt)
IMPORT_C voidCreatePresetL(TDesC &, CStereoWidening &)
IMPORT_C voidDeletePresetL(TInt)
IMPORT_C voidDisableStereoWideningL()
IMPORT_C const TDesC &GetPresetL(TInt)
IMPORT_C voidModifyPresetL(TInt, TDesC &, CStereoWidening &)
IMPORT_C CStereoWideningUtility *NewL(CMMFDevSound &)
IMPORT_C CStereoWideningUtility *NewL(CMdaAudioConvertUtility &)
IMPORT_C CStereoWideningUtility *NewL(CMdaAudioInputStream &)
IMPORT_C CStereoWideningUtility *NewL(CMdaAudioOutputStream &)
IMPORT_C CStereoWideningUtility *NewL(CMdaAudioPlayerUtility &)
IMPORT_C CStereoWideningUtility *NewL(CMdaAudioRecorderUtility &)
IMPORT_C CStereoWideningUtility *NewL(CMdaAudioToneUtility &)
IMPORT_C CStereoWideningUtility *NewL(CCustomCommandUtility *)
IMPORT_C CStereoWideningUtility *NewL(MCustomInterface &)
IMPORT_C CStereoWideningUtility *NewL(CMidiClientUtility &)
IMPORT_C CStereoWideningUtility *NewL(CDrmPlayerUtility &)
IMPORT_C CStereoWideningUtility *NewL(CVideoPlayerUtility &)
IMPORT_C TUint32NumberOfPreDefinedPresets()
IMPORT_C TArray< TEfStereoWideningUtilityPreset >Presets()
IMPORT_C voidResetPresetL(TInt)
IMPORT_C CStereoWidening &StereoWidening()
Private Member Functions
CStereoWideningUtility()
voidConstructL(CMMFDevSound &)
voidConstructL(CMdaAudioConvertUtility &)
voidConstructL(CMdaAudioInputStream &)
voidConstructL(CMdaAudioOutputStream &)
voidConstructL(CMdaAudioPlayerUtility &)
voidConstructL(CMdaAudioRecorderUtility &)
voidConstructL(CMdaAudioToneUtility &)
voidConstructL(CCustomCommandUtility *)
voidConstructL(MCustomInterface &)
voidConstructL(CMidiClientUtility &)
voidConstructL(CDrmPlayerUtility &)
voidConstructL(CVideoPlayerUtility &)
voidUpdateFullPresetArrayFromCenRep(RArray< TEfStereoWideningUtilityPreset > &)
voidUpdatePresetArray(RArray< TEfStereoWideningUtilityPreset > &, const RArray< TEfStereoWideningUtilityPreset > &)
Inherited Functions
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()
Private Attributes
RArray< TEfStereoWideningUtilityPreset >iFullPresetArray
RArray< TEfStereoWideningUtilityPreset >iPresetArray
CRepository *iPresetRepository
CStereoWidening *iStereoWidening
CStereoWidening *iTransStereoWidening

Constructor & Destructor Documentation

CStereoWideningUtility()

CStereoWideningUtility()[private]

C++ default constructor.

~CStereoWideningUtility()

~CStereoWideningUtility()[virtual]

Destructor.

Member Functions Documentation

ApplyPresetL(TInt)

IMPORT_C voidApplyPresetL(TIntaPreset)
Apply the Preset Index value
Since
3.0

Parameters

TInt aPresetPreset Value

ConstructL(CMMFDevSound &)

voidConstructL(CMMFDevSound &aDevSound)[private]
By default Symbian 2nd phase constructor is private. Second Phase Costructor for DevSound Instance
Since
3.0

Parameters

CMMFDevSound & aDevSoundDevSound Referece

ConstructL(CMdaAudioConvertUtility &)

voidConstructL(CMdaAudioConvertUtility &aUtility)[private]
Second Phase Costructor for Audio Convert Utility
Since
3.0

Parameters

CMdaAudioConvertUtility & aUtilityCMdaAudioConvertUtility Referece

ConstructL(CMdaAudioInputStream &)

voidConstructL(CMdaAudioInputStream &aUtility)[private]
Second Phase Costructor for CMdaAudioInputStream
Since
3.0

Parameters

CMdaAudioInputStream & aUtilityCMdaAudioInputStream Referece

ConstructL(CMdaAudioOutputStream &)

voidConstructL(CMdaAudioOutputStream &aUtility)[private]
Second Phase Costructor for CMdaAudioOutputStream
Since
3.0

Parameters

CMdaAudioOutputStream & aUtility

ConstructL(CMdaAudioPlayerUtility &)

voidConstructL(CMdaAudioPlayerUtility &aUtility)[private]
Second Phase Costructor for CMdaAudioPlayerUtility
Since
3.0

Parameters

CMdaAudioPlayerUtility & aUtilityCMdaAudioPlayerUtility Referece

ConstructL(CMdaAudioRecorderUtility &)

voidConstructL(CMdaAudioRecorderUtility &aUtility)[private]
Second Phase Costructor for CMdaAudioRecordUtility
Since
3.0

Parameters

CMdaAudioRecorderUtility & aUtilityCMdaAudioRecordUtility Referece

ConstructL(CMdaAudioToneUtility &)

voidConstructL(CMdaAudioToneUtility &aUtility)[private]
Second Phase Costructor for CMdaAudioToneUtility
Since
3.0

Parameters

CMdaAudioToneUtility & aUtilityCMdaAudioToneUtility Referece

ConstructL(CCustomCommandUtility *)

voidConstructL(CCustomCommandUtility *aUtility)[private]
Second Phase Costructor for MCustomCommand
Since
3.0

Parameters

CCustomCommandUtility * aUtilityMCustomCommand Referece

ConstructL(MCustomInterface &)

voidConstructL(MCustomInterface &aCustomInterface)[private]
Second Phase Costructor for MCustomInterface
Since
3.0

Parameters

MCustomInterface & aCustomInterface

ConstructL(CMidiClientUtility &)

voidConstructL(CMidiClientUtility &aUtility)[private]
Second Phase Costructor for CMidiClientUtility
Since
3.0

Parameters

CMidiClientUtility & aUtilityCMidiClientUtility Referece

ConstructL(CDrmPlayerUtility &)

voidConstructL(CDrmPlayerUtility &aUtility)[private]
Second Phase Costructor for CDrmPlayerUtility
Since
3.0

Parameters

CDrmPlayerUtility & aUtilityCDrmPlayerUtility Referece

ConstructL(CVideoPlayerUtility &)

voidConstructL(CVideoPlayerUtility &aUtility)[private]
Second Phase Costructor for CVideoPlayerUtility
Since
3.2

Parameters

CVideoPlayerUtility & aUtilityCVideoPlayerUtility Referece

CreatePresetL(TDesC &, CStereoWidening &)

IMPORT_C voidCreatePresetL(TDesC &aName,
CStereoWidening &aStereoWideningUI
)
Create a Preset with the given Name and StereoWidening Settings
Since
3.0

Parameters

TDesC & aNameName of the Preset
CStereoWidening & aStereoWideningUI

DeletePresetL(TInt)

IMPORT_C voidDeletePresetL(TIntaPresetIndex)
Delete a Preset with the given index in the Central Repository
Since
3.0

Parameters

TInt aPresetIndexIndex of the Preset in the Array

DisableStereoWideningL()

IMPORT_C voidDisableStereoWideningL()
Disable the StereoWidening
Since
3.0

GetPresetL(TInt)

IMPORT_C const TDesC &GetPresetL(TIntaPresetIndex)
Retrieves a Preset with the given index from the Central Repository
Since
3.0

Parameters

TInt aPresetIndexIndex of the Preset in the Array

ModifyPresetL(TInt, TDesC &, CStereoWidening &)

IMPORT_C voidModifyPresetL(TIntaPresetIndex,
TDesC &aName,
CStereoWidening &aStereoWideningUI
)
Modify a Preset with the given Name and StereoWidening Settings
Since
3.0

Parameters

TInt aPresetIndexArray Index of the Preset
TDesC & aNameName of the Preset
CStereoWidening & aStereoWideningUI

NewL(CMMFDevSound &)

IMPORT_C CStereoWideningUtility *NewL(CMMFDevSound &aDevSound)[static]
Factory function for creating the audio StereoWidening utility object.
Since
3.0

Parameters

CMMFDevSound & aDevSound

NewL(CMdaAudioConvertUtility &)

IMPORT_C CStereoWideningUtility *NewL(CMdaAudioConvertUtility &aUtility)[static]
Factory function for creating the audio StereoWidening utility object.
Since
3.0

Parameters

CMdaAudioConvertUtility & aUtilityA reference to a convert utility

NewL(CMdaAudioInputStream &)

IMPORT_C CStereoWideningUtility *NewL(CMdaAudioInputStream &aUtility)[static]
Factory function for creating the audio StereoWidening utility object.
Since
3.0

Parameters

CMdaAudioInputStream & aUtilityA reference to a audio input stream utility

NewL(CMdaAudioOutputStream &)

IMPORT_C CStereoWideningUtility *NewL(CMdaAudioOutputStream &aUtility)[static]
Factory function for creating the audio StereoWidening utility object.
Since
3.0

Parameters

CMdaAudioOutputStream & aUtilityA reference to a audio output stream utility

NewL(CMdaAudioPlayerUtility &)

IMPORT_C CStereoWideningUtility *NewL(CMdaAudioPlayerUtility &aUtility)[static]
Factory function for creating the audio StereoWidening utility object.
Since
3.0

Parameters

CMdaAudioPlayerUtility & aUtilityA reference to a audio player utility

NewL(CMdaAudioRecorderUtility &)

IMPORT_C CStereoWideningUtility *NewL(CMdaAudioRecorderUtility &aUtility)[static]
Factory function for creating the audio StereoWidening utility object.
Since
3.0

Parameters

CMdaAudioRecorderUtility & aUtilityA reference to a audio recorder utility

NewL(CMdaAudioToneUtility &)

IMPORT_C CStereoWideningUtility *NewL(CMdaAudioToneUtility &aUtility)[static]
Factory function for creating the audio StereoWidening utility object.
Since
3.0

Parameters

CMdaAudioToneUtility & aUtilityA reference to a audio tone utility

NewL(CCustomCommandUtility *)

IMPORT_C CStereoWideningUtility *NewL(CCustomCommandUtility *aUtility)[static]
Factory function for creating the audio StereoWidening utility object.
Since
3.0

Parameters

CCustomCommandUtility * aUtilityA reference to custom command utility

NewL(MCustomInterface &)

IMPORT_C CStereoWideningUtility *NewL(MCustomInterface &aCustomInterface)[static]
Factory function for creating the audio StereoWidening utility object.
Since
3.0

Parameters

MCustomInterface & aCustomInterface

NewL(CMidiClientUtility &)

IMPORT_C CStereoWideningUtility *NewL(CMidiClientUtility &aUtility)[static]
Factory function for creating the audio StereoWidening utility object.
Since
3.0

Parameters

CMidiClientUtility & aUtilityA reference to CMidiClientUtility

NewL(CDrmPlayerUtility &)

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

Parameters

CDrmPlayerUtility & aUtility

NewL(CVideoPlayerUtility &)

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

Parameters

CVideoPlayerUtility & aUtility

NumberOfPreDefinedPresets()

IMPORT_C TUint32NumberOfPreDefinedPresets()const
Get the number of Pre Defined Presets
Since
3.0

Presets()

IMPORT_C TArray< TEfStereoWideningUtilityPreset >Presets()
Get all the Presets defined in the Central Repository
Since
3.0

ResetPresetL(TInt)

IMPORT_C voidResetPresetL(TIntaPresetIndex)
Reset a System Defined Preset with the given index in the Array returned from Presets()
Since
3.0

Parameters

TInt aPresetIndexIndex of the Preset in the Array

StereoWidening()

IMPORT_C CStereoWidening &StereoWidening()
Get the reference to the StereoWidening Object
Since
3.0

UpdateFullPresetArrayFromCenRep(RArray< TEfStereoWideningUtilityPreset > &)

voidUpdateFullPresetArrayFromCenRep(RArray< TEfStereoWideningUtilityPreset > &aFullPresetArray)[private]
Function for Updating the Array from the Central Repository
Since
3.0

Parameters

RArray< TEfStereoWideningUtilityPreset > & aFullPresetArray

UpdatePresetArray(RArray< TEfStereoWideningUtilityPreset > &, const RArray< TEfStereoWideningUtilityPreset > &)

voidUpdatePresetArray(RArray< TEfStereoWideningUtilityPreset > &aPresetArray,
const RArray< TEfStereoWideningUtilityPreset > &aFullPresetArray
)[private]
Function of Updating the Preset Array for the User
Since
3.0

Parameters

RArray< TEfStereoWideningUtilityPreset > & aPresetArray
const RArray< TEfStereoWideningUtilityPreset > & aFullPresetArray

Member Data Documentation

RArray< TEfStereoWideningUtilityPreset > iFullPresetArray

RArray< TEfStereoWideningUtilityPreset >iFullPresetArray[private]

RArray< TEfStereoWideningUtilityPreset > iPresetArray

RArray< TEfStereoWideningUtilityPreset >iPresetArray[private]

CRepository * iPresetRepository

CRepository *iPresetRepository[private]

CStereoWidening * iStereoWidening

CStereoWidening *iStereoWidening[private]

CStereoWidening * iTransStereoWidening

CStereoWidening *iTransStereoWidening[private]