On Jan 5, 2006, at 1:55 PM, Joseph J. Strout wrote:

Using a Timer, you should be able to easily play sounds with a precision of about 1/30 second on the Mac (assuming nothing much else going on). Using a tight loop, you could do much better, but then of course you're sucking a lot of CPU time. If you're not getting those results, then I suspect there's something wrong with your approach or implementation.

You should be able to create a thread-based "timer" that is more precise than the Timer class. And with the new thread API in REALbasic 2005, you can set the thread to sleep for 10 milliseconds (or is it microseconds) so you don't consume the CPU.


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to