CLocation Class Reference
#include
<LocationBase.h>
Link against: LocationEffect.lib
class CLocation : public CAudioEffect |
Detailed Description
This is the base class for location effect settings.
Member Attribute Documentation
Constructor & Destructor Documentation
CLocation ( )
IMPORT_C | CLocation | ( | ) | [protected] |
Private C++ constructor for this class.
~CLocation ( )
IMPORT_C | ~CLocation | ( | ) | [protected, 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.
LocationCartesian ( TInt32 &, TInt32 &, TInt32 & )
Gets the cartesian coordinates for the location of the position.
- Since
- 3.0
Parameter | Description | aX | The x-coordinate of the position (in millimeters) |
aY | The y-coordinate of the position (in millimeters) |
aZ | The z-coordinate of the position (in millimeters) |
LocationSpherical ( TInt32 &, TInt32 &, TInt32 & )
Gets the spherical coordinates for the location of the position.
- Since
- 3.0
Parameter | Description | aAzimuth | The Azimuth of the position (thousandths of radians) |
aElevation | The elevation of the position (thousandths of radians) |
aRadius | The radius of the position (thousandths of radians) |
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 |
SetLocationCartesianL ( TInt32 &, TInt32 &, TInt32 & )
Sets the cartesian coordinates for the location of the position.
- Since
- 3.0
Parameter | Description | aX | The x-coordinate of the position |
aY | The y-coordinate of the position |
aZ | The z-coordinate of the position |
SetLocationSphericalL ( TInt32 &, TInt32 &, TInt32 & )
IMPORT_C void | SetLocationSphericalL | ( | TInt32 & | aAzimuth, |
| TInt32 & | aElevation, |
| TInt32 & | aRadius |
| ) | |
Sets the spherical coordinates for the location of the position.
- Since
- 3.0
Parameter | Description | aAzimuth | The Azimuth of the position (thousandths of radians) |
aElevation | The elevation of the position (thousandths of radians) |
aRadius | The radius of the position (thousandths of radians) |