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_SetCPULoad

You can use the SSpSource_SetCPULoad function to set the CPU load factor of a source.

OSStatus SSpSource_SetCPULoad (
SSpSourceReference inSourceReference,
UInt32 inCPULoad);
inSourceReference
A source reference.
inCPULoad
The desired CPU load factor of the source.
function result
A result code.
DESCRIPTION
The SSpSource_SetCPULoad function sets the CPU load factor of the source specified by the inSourceReference parameter to the value specified by the inCPULoad parameter. The value 0 represents the greatest CPU loading (and hence the best sound quality). The value returned by the SSpSource_SetCPULoad function represents the smallest CPU load factor (and hence the worst available sound quality.) The default CPU load factor is 0.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996