Re: my CoreAudio Clock won't stop!
Re: my CoreAudio Clock won't stop!
- Subject: Re: my CoreAudio Clock won't stop!
- From: Doug Wyatt <email@hidden>
- Date: Wed, 17 Jan 2007 12:30:46 -0800
That's not something that's turned up in our internal test code.
It'd be best to file a bug with a reproducible test case.
Thanks Doug
On Jan 17, 2007, at 9:28 AM, Ferguson, Paul wrote: Can anyone shed some light on the following problem ? A simple coreaudio Clock experiment in cocoa - interface code removed but minimal anyway.. . . CAClockRef pfClockRef; CAClockTime pfTimestamp; OSStatus osErr; osErr = CAClockNew(0, &pfClockRef); // sucessfully creates a new clock - appears to default to internal timebase = host . . osErr = CAClockStart(pfClockRef); //sucessfully starts the clock . . osErr = CAClockGetCurrentTime(pfClockRef, kCAClockTimeFormat_Seconds, &pfTimestamp); //sucessfully prints running clock printf("currentTime... returned error code %d, current time is%f\n", osErr, pfTimestamp.time.seconds); . . osErr = CAClockStop(pfClockRef); //not what I expected !! - instead of stopping the clock, the current time is stored as the new clockStartTime and the clock continues to run.... . . Many thanks in anticipation Paul Fergy
|
_______________________________________________
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