SSpSource_SetSize
You can use theSSpSource_SetSizefunction to set the size of a sound source.
OSStatus SSpSource_SetSize ( SSpSourceReference inSourceReference, float inLength, float inWidth, float inHeight);
inSourceReference- A source reference.
inLength- The desired length of the sound source.
inWidth- The desired width of the sound source.
inHeight- The desired height of the sound source.
- function result
- A result code.
DESCRIPTION
TheSSpSource_SetSizefunction sets the length, width, and height of the sound source specified by theinSourceReferenceparameter to the values specified by theinLength,inWidth, andinHeightparameters. The length side is determined by the orientation vector, the height side is determined by the up vector, and the width is the remaining side of the box.The default sides of the sound source box are 0.0 listener units.