SSpGetCPULoadLimit
You can use theSSpGetCPULoadLimitfunction to determine the maximum defined value for the CPU load.
OSStatus SSpGetCPULoad (UInt32 *outCPULoadLimit);
inListenerReference- A listener reference.
outCPULoadLimit- On exit, the maximum defined CPU load value.
- function result
- A result code.
DESCRIPTION
TheSSpGetCPULoadLimitfunction returns, in theoutCPULoadLimitparameter, the maximum defined value for the CPU load. The value 0 represents the greatest CPU loading (and hence the best sound quality). This function determines the CPU load by creating a sound channel, callingSndGetInfowith thesiSSpCPULoadLimitinformation selector and returning the result. If you have a sound channel handy, you may do this directly. The value returned by theSSpGetCPULoadLimitfunction represents the smallest CPU load factor (and hence the worst available sound quality.) The default CPU load factor is 0.