DSpContext_GetMonitorFrequency
You can use the DSpContext_GetMonitorFrequency function to get the frequency for the display associated with a context.
OSStatus DSpContext_GetMonitorFrequency ( DSpContextReference inContext, Fixed *outFrequency);
inContext- A reference to a context for which you want to get the display frequency.
outFrequency- On exit, the display frequency.
- function result
- A result code.
DESCRIPTION
The DSpContext_GetMonitorFrequency function takes a reference to a context in theinContextparameter and returns the frequency of the display associated with that context in theoutFrequencyparameter. The context must have been active for a reasonable amount of time (at least two seconds) in order to receive a correct value, because the value returned is calculated by timing the frame rate of the context in its active state.CALLING RESTRICTIONS
Do not call this function during an interrupt.