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_GetCPULoad

You can use the SSpSource_GetCPULoad function to get the current CPU load factor.

OSStatus SSpSource_GetCPULoad (SSpSourceReference inSourceReference, 
UInt32 *outCPULoad);
inSourceReference
A source reference.
outCPULoad
On exit, the maximum defined CPU load factor.
function result
A result code.
DESCRIPTION
The SSpSource_GetCPULoad function returns, in the outCPULoad parameter, the current CPU load factor.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996