createSampleRateFromDictionary
Generates a sample rate from an OSDictionary.
Declaration
static IOAudioSampleRate *createSampleRateFromDictionary(
const OSDictionary *rateDict,
IOAudioSampleRate *sampleRate = 0);Return Value
Returns the sample rate.
Overview
This is an internal routine used to generate a sample rate from an OSDictionary. It is used to generate a sample rate give a new OSDictionary from the IORegistry - coming from the CoreAudio.framework.
See Also
Miscellaneous
addAudioStreamaddTimerclearAllSampleBuffersclientClosedconvertInputSamplesVBRcreateDictionaryFromSampleRateeraseOutputSamplesfreegetAttributeForConnectiongetCommandGategetCurrentSampleFramegetRunEraseHeadgetSampleRategetStategetStatusgetTimerIntervalgetWorkLoopinitinitHardwareinitKeysnewUserClientperformAudioEngineStartperformAudioEngineStopperformEraseperformFlushregisterServiceremoveTimerresetStatusBuffersetAttributeForConnectionsetClockDomainsetClockIsStablesetInputSampleOffsetsetMixClipOverheadsetOutputSampleOffsetsetRunEraseHeadsetSampleLatencysetSampleRatesetStatestart(IOService *)start(IOService *, IOAudioDevice *)startAudioEnginestopstopAudioEnginetimerCallbacktimerFired