CDoppler Class Reference

class CDoppler : public CAudioEffect

This is the Doppler effect class for managing doppler settings.

DopplerEffect.lib
Since
3.0

Inherits from

Constructor & Destructor Documentation

CDoppler()

IMPORT_CCDoppler()[protected]

Private C++ constructor for this class.

~CDoppler()

IMPORT_C~CDoppler()[protected, virtual]

Destructor

Member Functions Documentation

CartesianVelocity(TInt32 &, TInt32 &, TInt32 &)

IMPORT_C voidCartesianVelocity(TInt32 &aX,
TInt32 &aY,
TInt32 &aZ
)
Get the velocity's cartesian settings
Since
3.0

Parameters

TInt32 & aXVelocity in X direction (mm/s)
TInt32 & aYVelocity in Y direction (mm/s)
TInt32 & aZVelocity in Z direction (mm/s)

DoEffectData()

IMPORT_C const TDesC8 &DoEffectData()[protected, virtual]
From CAudioEffect Create a package of the effect data
Since
3.0

Factor()

IMPORT_C TUint32Factor()const
Get the current multiplier factor
Since
3.0

FactorMax()

IMPORT_C TUint32FactorMax()const
Get the maximum multiplier factor
Since
3.0

SetCartesianVelocityL(TInt32, TInt32, TInt32)

IMPORT_C voidSetCartesianVelocityL(TInt32aX,
TInt32aY,
TInt32aZ
)
Sets the velocity in Cartesian coordinates of the sound source with respect to the listener.
Since
3.0

Parameters

TInt32 aXVelocity in X direction (mm/s)
TInt32 aYVelocity in Y direction (mm/s)
TInt32 aZVelocity in Z direction (mm/s)

SetEffectData(const TDesC8 &)

IMPORT_C voidSetEffectData(const TDesC8 &aEffectDataBuffer)[protected, virtual]
From CAudioEffect Internal function to unpack effect data
Since
3.0

Parameters

const TDesC8 & aEffectDataBufferDescriptor containing packed effect data

SetFactorL(TUint32)

IMPORT_C voidSetFactorL(TUint32aFactor)
Sets the multiplier factor.
Since
3.0

Parameters

TUint32 aFactorFactor value in hundredths that ranges from 0 to FactorMax(), where 100 corresponds to 1.00, 200 corresponds to 2.00, etc.

SetSphericalVelocityL(TInt32, TInt32, TInt32)

IMPORT_C voidSetSphericalVelocityL(TInt32aAzimuth,
TInt32aElevation,
TInt32aRadius
)
Sets the velocity in spherical coordinates of the sound source with respect to the listener.
Since
3.0

Parameters

TInt32 aAzimuththe Azimuth (thousandths of radians)
TInt32 aElevationthe elevation (thousandths of radians)
TInt32 aRadiusthe radius (thousandths of radians)

SphericalVelocity(TInt32 &, TInt32 &, TInt32 &)

IMPORT_C voidSphericalVelocity(TInt32 &aAzimuth,
TInt32 &aElevation,
TInt32 &aRadius
)
Gets the velocity's spherical coordinates settings.
Since
3.0

Parameters

TInt32 & aAzimuththe Azimuth (thousandths of radians)
TInt32 & aElevationthe elevation (thousandths of radians)
TInt32 & aRadiusthe radius (thousandths of radians)

Member Data Documentation

TEfDopplerDataPckg iDataPckgFrom

TEfDopplerDataPckg iDataPckgFrom[protected]

TEfDopplerDataPckg iDataPckgTo

TEfDopplerDataPckg iDataPckgTo[protected]

TEfDoppler iDopplerData

TEfDoppler iDopplerData[protected]