3D Sound Setup Structure
You specify the configuration of the listener's speakers using a 3D sound setup structure. A 3D sound setup structure is defined by theSSpSetupData
data type.
typedef struct SSpSetupData { UInt32 speakerKind; float speakerAngle; UInt32 reserved0; UInt32 reserved1; } SSpSetupData;
Field Description
speakerKind
- The type of speakers being used. See "Speaker Types" (page 1-25) for a description of the values that can occur in this field.
speakerAngle
- The angle, in radians, formed by the speakers and the listener. Values for this field can range from 0.0 to p. This field is used only if the value of the
speakerKind
field iskSSpSpeakerKind_Stereo
.reserved0
- Reserved for use by Apple Computer, Inc. You should set this field to 0.
reserved1
- Reserved for use by Apple Computer, Inc. You should set this field to 0.