Thanks , following your approach I took all my code into Objective C and was able to extract exact Callback time. Now I am facing an issue , if I am playing my stimulus using audio units , it crashes after playing the audio files roughly after 2500 times.
I have tried on multiple Mac OSX 10.5 systems and they all crash after around 2500 times. Below is the error message in console
Sound assertion ""( kRequestStateCORB == fCodecRequest->state ) = CORB engine stuck or response was missing"" failed in "/SourceCache/AppleHDA/AppleHDA-157.1.24/AppleHDAController/AppleHDAController.cpp" at line 1492 goto handler
Jul 6 00:58:53 ravneet-kaurs-macbook kernel: Sound assertion "0 != err" failed in "/SourceCache/AppleHDA/AppleHDA-157.1.24/IOHDAFamily/IOHDACodecDevice.cpp" at line 131 goto Exit Jul 6 00:58:53 ravneet-kaurs-macbook kernel: Sound assertion "0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-157.1.24/AppleHDA/AppleHDANode.cpp" at line 376 goto Exit
Jul 6 00:58:53 ravneet-kaurs-macbook kernel: Sound assertion "0 != audioFunctionGroup->powerState ( &restorePowerState )" failed in "/SourceCache/AppleHDA/AppleHDA-157.1.24/AppleHDA/AppleHDADriver.cpp" at line 232 goto handler
Please let me know if it is a known bug/limitation.Below is my code
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden