This is a Mac OS X (>= 10.4) version of LinuxSampler 0.4.0. The following modifications have been made on the official release of 0.4.0. - A new project file for Xcode 2.4 (osx/LinuxSampler.xcodeprog) was created. This file correctly reflects the changes of the file layouts. Note that the old Xcode project (osx/LinuxSampler.xcode) is not touched hence it does not work. - '#define PACKAGE "libgig"' was added to version.h. This is a dirty workaround, but it works because "PACKAGE" appears to be used only in the libgig library. - '#define CONFIG_GLOBAL_ATTENUATION 0.35' is added to version.h. - MidiInputDeviceCoreMidi.{h,cpp}: replace LinuxSamplerException with Exception. - In Mutex::Mutex(), the call to pthread_mutexattr_settype() is enabled. This call is enabled if _XOPEN_SOURCE > 500, but setting this macro to a >500 value seems to cause some trouble in Mac OS 10.4. As a quick workaround I put a test of __APPLE__ to the #ifdef line. - In EGDecay::trigger(), a "zero" decay time is handled specially, to avoid zero-division trouble. - A universal binary can be built. However, the author of this version does not have an access to an Intel Mac so he does not know whether it works on Intel or not. To build on Xcode 2.4, follow these steps: (1) Install JackOSX and libsndfile. (2) Get linuxsampler-0.4.0 and libgig-3.1.1, expand and place them in a certain directory. (3) Cd to that directory, put linuxsampler040-mac.patch there, and do 'patch -p0 < linuxsampler040-mac.patch'. (4) Open linuxsampler-0.4.0/osx/LinuxSampler.xcodeproj. (5) Build the targets "libgig", "liblinuxsampler", and "LinuxSampler" in this order. Note that the target "Test" does not build unless you have Cppunit. Toshi Nagata 29 Mar 2007