X3DAUDIO_CONE structure (x3daudio.h)

Specifies directionality for a single-channel non-LFE emitter by scaling DSP behavior with respect to the emitter's orientation.

Syntax

typedef struct X3DAUDIO_CONE {
  FLOAT32 InnerAngle;
  FLOAT32 OuterAngle;
  FLOAT32 InnerVolume;
  FLOAT32 OuterVolume;
  FLOAT32 InnerLPF;
  FLOAT32 OuterLPF;
  FLOAT32 InnerReverb;
  FLOAT32 OuterReverb;
} X3DAUDIO_CONE, *LPX3DAUDIO_CONE;

Members

InnerAngle

Inner cone angle in radians. This value must be within 0.0f to X3DAUDIO_2PI.

OuterAngle

Outer cone angle in radians. This value must be within InnerAngle to X3DAUDIO_2PI.

InnerVolume

Volume scaler on/within inner cone. This value must be within 0.0f to 2.0f.

OuterVolume

Volume scaler on/beyond outer cone. This value must be within 0.0f to 2.0f.

InnerLPF

LPF direct-path or reverb-path coefficient scaler on/within inner cone. This value is only used for LPF calculations and must be within 0.0f to 1.0f.

OuterLPF

LPF direct-path or reverb-path coefficient scaler on or beyond outer cone. This value is only used for LPF calculations and must be within 0.0f to 1.0f.

InnerReverb

Reverb send level scaler on or within inner cone. This must be within 0.0f to 2.0f.

OuterReverb

Reverb send level scaler on/beyond outer cone. This must be within 0.0f to 2.0f.

Remarks

For a detailed explanation of sound cones see Sound Cones.

Platform Requirements

Windows 10 (XAudio2.9); Windows 8, Windows Phone 8 (XAudio 2.8); DirectX SDK (XAudio 2.7)

Requirements

Requirement Value
Header x3daudio.h

See also

Structures