[ardour-dev] [PATCH] OS X support for cycles.h

Kito kito at gentoo.org
Tue Aug 23 13:47:06 PDT 2005


	Small patch that uses the native AudioGetCurrentHostTime() on OS X  
for timing info. AFAIK this system call is just a wrapper to the  
mach_timebase_info calls, which is what I first used (and apparently  
jackd coreaudio uses as well) but I couldn't see a performance  
advantage either way, so decided to go with the solution that  
required slightly less code ;)

I've tested this using both beta_29 and several of the latest cvs  
snapshots, on several different macs(g{3,4,5}) all running >=OS X  
10.4 with great results. Would be interested to hear about other  
users experience before it gets committed however, just to be safe.

--Kito

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ardour-cycles.h-OSX.patch
Type: application/octet-stream
Size: 498 bytes
Desc: not available
URL: <http://lists.ardour.org/pipermail/ardour-dev-ardour.org/attachments/20050823/5a208dc3/attachment.obj>


More information about the Ardour-Dev mailing list