Previous Book Contents Book Index Next

Inside Macintosh: Apple Game Sprockets Guide /
Chapter 1 - SoundSprocket / SoundSprocket Reference
SoundSprocket Functions / Creating and Managing 3D Sound Sources


SSpSource_GetSize

You can use the SSpSource_GetSize function to get the size of a sound source.

OSStatus SSpSource_GetSize (
SSpSourceReference inSourceReference,
float *outLength,
float *outWidth,
float *outHeight);
inSourceReference
A source reference.
outLength
On exit, the length of the sound source.
outWidth
On exit, the width of the sound source.
outHeight
On exit, the height of the sound source.
function result
A result code.
DESCRIPTION
The SSpSource_GetSize function returns, in the outLength, outWidth, and outHeight parameters, the length, width, and height of the sound source specified by the inSourceReference parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996