Virtual Source Structure
You use a virtual source structure to describe a virtual sound source (that is, a reflection of a real sound source). A virtual source structure is defined by theSSpVirtualSourceData
data type.
typedef struct SSpVirtualSourceData { float attenuation; SSpLocationData location; } SSpVirtualSourceData;
Field Description
attenuation
- The amount of attenuation, in decibels (dB), that occurs each time this reflection bounces off a reverberant wall. The value of this field should be less than or equal to 0.0.
location
- The current location of the virtual source relative to the listener. See (page 1-28) for a description of the
SSpLocationData
data structure.