• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: my CoreAudio Clock won't stop!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >my CoreAudio Clock won't stop! (From: "Ferguson, Paul" <email@hidden>)

  • Prev by Date: Re: AudioDeviceGetCurrentTime after headphone plug/unplug
  • Next by Date: ioNumberPackets == 0 in ProduceOutputPackets()
  • Previous by thread: my CoreAudio Clock won't stop!
  • Next by thread: my CoreAudio Clock won't stop!
  • Index(es):
    • Date
    • Thread