Update contrib.
2 // MmfStdGlblAudioEffect.h
4 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
5 // All rights reserved.
6 // This component and the accompanying materials are made available
7 // under the terms of "Eclipse Public License v1.0"
8 // which accompanies this distribution, and is available
9 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
11 // Initial Contributors:
12 // Nokia Corporation - initial contribution.
19 #ifndef MMFSTDGLBLAUDIOEFFECT_H
20 #define MMFSTDGLBLAUDIOEFFECT_H
22 #include <mmf/common/mmfglblaudioeffect.h>
31 Global Equaliser effect
32 This provides access to the global equaliser
34 class CMmfGlobalEqEffect : public CMmfGlobalAudioEffect
39 @param Observer to use - can be NULL
40 @return Freshly created object
41 @leave KErrNotSupported
42 There is no low-level implementation for this class
44 IMPORT_C static CMmfGlobalEqEffect* NewL(MMmfGlobalAudioEffectObserver* aObserver);
47 Maximum number of bands an equaliser can support
49 static const TInt KMaxBands = 10;
52 Struct to form basis of package buffer to ExtractValuesL() and SetByValuesL()
57 TInt iNumBands; //*< Bands on current equaliser
58 TReal iCurrentValue[KMaxBands]; //*< current setting
59 TInt iNominalFreq[KMaxBands]; //*< Nominal freq for each band, used in dialogs
60 TReal iMin; //*< Min possible value on each band
61 TReal iMax; //*< Max possible value on each band
62 TVolumeValue iValueType; //*< How to interpet iCurrentValue, iMin and iMax
67 void ConstructL(MMmfGlobalAudioEffectObserver* aObserver);
72 Global Megaboost effect
73 This provides access to the global megaboost.
74 Note there is currently no TValues struct defined for this - client apps must use
77 class CMmfGlobalMegaEffect : public CMmfGlobalAudioEffect
82 @param Observer to use - can be NULL
83 @return Freshly created object
84 @leave KErrNotSupported
85 There is no low-level implementation for this class
87 IMPORT_C static CMmfGlobalMegaEffect* NewL(MMmfGlobalAudioEffectObserver* aObserver);
90 CMmfGlobalMegaEffect();
91 void ConstructL(MMmfGlobalAudioEffectObserver* aObserver);
96 #endif // MMFSTDGLBLAUDIOEFFECT_H