X3DAUDIO_LISTENER

Defines a point of 3D audio reception.

typedef struct X3DAUDIO_LISTENER {
    X3DAUDIO_VECTOR OrientFront;
    X3DAUDIO_VECTOR OrientTop;
    X3DAUDIO_VECTOR Position;
    X3DAUDIO_VECTOR Velocity;
} X3DAUDIO_LISTENER, *LPX3DAUDIO_LISTENER;

Members

OrientFront
Orientation of front direction, used only for matrix and delay calculations. This value must be orthonormal with OrientTop when used.
OrientTop
Orientation of top direction, used only for matrix and delay calculations. This value must be orthonormal with OrientFront when used
Position
Position in user-defined world units. This value does not affect Velocity.
Velocity
Velocity vector in user-defined world units per second, used only for doppler calculations. This value does not affect Position.

Remarks

The parameter type X3DAUDIO_VECTOR is typed to D3DVECTOR, to provide x,y and z floating-point values.

Requirements

Header: Declared in X3daudio.h.

See Also

X3DAudio Structures