00001 /* 00002 * ============================================================================== 00003 * Name : DistanceAttenuationData.h 00004 * Part of : Effects Framework 00005 * Interface : Audio Effects 00006 * Description : This file contains definitions of audio effects data structures for 00007 * Distance Attenuation. 00008 * Version : 1 00009 * 00010 * Copyright (c) 2004 Nokia Corporation. 00011 * This material, including documentation and any related 00012 * computer programs, is protected by copyright controlled by 00013 * Nokia Corporation. All rights are reserved. Copying, 00014 * including reproducing, storing, adapting or translating, any 00015 * or all of this material requires the prior written consent of 00016 * Nokia Corporation. This material also contains confidential 00017 * information which may not be disclosed to others without the 00018 * prior written consent of Nokia Corporation. 00019 * ============================================================================== 00020 */ 00021 00022 00023 #ifndef DISTANCEATTENUATIONDATA_H 00024 #define DISTANCEATTENUATIONDATA_H 00025 00026 // INCLUDES 00027 #include <e32std.h> 00028 #include <AudioEffectData.h> 00029 00030 // CLASS DECLARATION 00031 00039 class TEfDistanceAttenuation : public TEfCommon 00040 { 00041 public: 00042 00046 TEfDistanceAttenuation() {} 00047 00051 TEfDistanceAttenuation( TInt32 aRMin, TInt32 aRMax, TBool aMuteAfterMax, 00052 TUint32 aRollOffFactor, TUint32 aRoomRollOffFactor) : 00053 iRMax(aRMax), iRMin(aRMin), iMuteAfterMax(aMuteAfterMax), 00054 iRollOffFactor(aRollOffFactor), iRoomRollOffFactor(aRoomRollOffFactor) {} 00055 00056 // Data 00057 TInt32 iRMin; 00058 TInt32 iRMax; 00059 TBool iMuteAfterMax; 00060 TUint32 iRollOffFactor; 00061 TUint32 iRoomRollOffFactor; 00062 TUint32 iRollOffFactorMax; 00063 TUint32 iRoomRollOffFactorMax; 00064 00065 }; 00066 00067 typedef TPckgBuf<TEfDistanceAttenuation> TEfDistanceAttenuationDataPckg; 00068 00069 // DISTANCEATTENUATIONDATA_H 00070 #endif 00071 00072 // End of File