carb::audio::DspValuePair

Defined in carb/audio/IAudioPlayback.h

struct DspValuePair

specifies a pair of values that define a DSP value range to be interpolated between based on an emitter-listener angle that is between a cone’s inner and outer angles.

For angles that are smaller than the cone’s inner angle, the ‘inner’ DSP value will always be used. Similarly, for angles that are larger than the cone’s outer angle, the ‘outer’ DSP value will always be used. Interpolation will only occur when the emitter-listener angle is between the cone’s inner and outer angles. No specific meaning or value range is attached to the ‘inner’ and ‘outer’ DSP values. These come from the specific purpose that this object is used for.

Public Members

float inner

the DSP value to be used for angles less than the cone’s inner angle and as one of the interpolation endpoints for angles between the cone’s inner and outer angles.

float outer

the DSP value to be used for angles greater than the cone’s outer angle and as one of the interpolation endpoints for angles between the cone’s inner and outer angles.