X3DAUDIO_DISTANCE_CURVE
Defines an explicit piecewise curve made up of linear segments, directly defining DSP behavior with respect to normalized distance.
typedef struct X3DAUDIO_DISTANCE_CURVE {
X3DAUDIO_DISTANCE_CURVE_POINT *pPoints;
UINT32 PointCount;
} X3DAUDIO_DISTANCE_CURVE;
Members
- pPoints
- X3DAUDIO_DISTANCE_CURVE_POINT array. The array must have no duplicates and be sorted in ascending order with respect to distance.
- PointCount
- Number of distance curve points. There must be two or more points since all curves must have at least two endpoints defining values at 0.0f and 1.0f normalized distance, respectively.
Requirements
Header: Declared in X3daudio.h.
See Also
X3DAudio Structures