diff system/System.h @ 232:03a24547cf3c

* Fix crash in short spectrogram paint * Fix incorrect apparent end point for waveforms
author Chris Cannam
date Wed, 14 Feb 2007 17:52:06 +0000
parents bf753a9abf0c
children 7033e188b2b2
line wrap: on
line diff
--- a/system/System.h	Mon Feb 12 18:15:49 2007 +0000
+++ b/system/System.h	Wed Feb 14 17:52:06 2007 +0000
@@ -65,6 +65,9 @@
 #define MLOCK(a,b)   ::mlock((a),(b))
 #define MUNLOCK(a,b) (::munlock((a),(b)) ? (::perror("munlock failed"), 0) : 0)
 #define MUNLOCK_SAMPLEBLOCK(a) do { if (!(a).empty()) { const float &b = *(a).begin(); MUNLOCK(&b, (a).capacity() * sizeof(float)); } } while(0);
+//#define MLOCK(a,b)   1
+//#define MUNLOCK(a,b) 1
+//#define MUNLOCK_SAMPLEBLOCK(a) 1
 
 #define DLOPEN(a,b)  dlopen((a).toStdString().c_str(),(b))
 #define DLSYM(a,b)   dlsym((a),(b))