Calculating precise time in audio apps
Calculating precise time in audio apps
- Subject: Calculating precise time in audio apps
- From: Pier <email@hidden>
- Date: Mon, 05 Nov 2012 11:37:47 +0800
Hi all,
I'm doing an audio app where I need to manipulate audio buffers in real time for different sounds. I need a asynchronous clock running in the background that i can pull the time in various callbacks good to the millisecond for various audio manipulation purposes like the stop and start times of my audio playback, and when it records and stops recording.
I need it to be so such that the precision allows me to determine latency caused by the various processes and compensate for it in my code.
Any suggestions how one would implement such a clock in iOS? I have a feeling NSTimer won't cut it.
Thank you.
Pier.
_______________________________________________
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