Update of /cvsroot/audacity/lib-src/portaudio-v19/src/hostapi/coreaudio
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv23323/hostapi/coreaudio
Modified Files:
ringbuffer.c
Log Message:
Small change to get portaudio to compile under OSX 10.3. (See discussion
on portaudio list)
Index: ringbuffer.c
===================================================================
RCS file:
/cvsroot/audacity/lib-src/portaudio-v19/src/hostapi/coreaudio/ringbuffer.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- ringbuffer.c 23 Sep 2006 18:42:49 -0000 1.3
+++ ringbuffer.c 27 Oct 2006 04:41:25 -0000 1.4
@@ -83,6 +83,10 @@
full memory barriers, so the three types of barriers are the same.
The asm volatile may be redundant with the memory barrier, but
until I have proof of that, I'm leaving it. */
+#if !defined(OSMemoryBarrier)
+# define OSMemoryBarrier()
+#endif
+
# define FullMemoryBarrier() do{ asm volatile("":::"memory");
OSMemoryBarrier(); }while(false)
# define ReadMemoryBarrier() do{ asm volatile("":::"memory");
OSMemoryBarrier(); }while(false)
# define WriteMemoryBarrier() do{ asm volatile("":::"memory");
OSMemoryBarrier(); }while(false)
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs