Runaway clock?
Runaway clock?
- Subject: Runaway clock?
- From: Todd Blanchard <email@hidden>
- Date: Fri, 13 Jun 2008 21:42:19 -0700
A kind soul pointed me to CAClock and I'm trying to use it to provide metronome and countoff. I can create the clock, set the tempo, start it playing. I run a timer in the UI thread the reads the current measure/beat/fraction and puts it into a text field regularly. Works great. It shows 1.1.000 initially until I hit start. If I up the tempo it counts faster, down it and it slows down. Lovely.
Except for stop. CAClockStop returns noErr, but the numbers keep going up in the display just the same. Is there another way to stop the clock short of hitting it with a hammer?
This is 10.4 BTW.
-Todd Blanchard
_______________________________________________
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