require "vorbisfile";
require "openal";
+ require "sigc++-2.0";
require "mspcore";
+ require "mspdatafile";
library "mspal"
{
--- /dev/null
+#ifndef MSP_AL_AL_H_
+#define MSP_AL_AL_H_
+
+#ifdef __APPLE__
+#include <OpenAL/al.h>
+#else
+#include <AL/al.h>
+#endif
+
+#endif
#define MSP_AL_BUFFER_H_
#include <string>
-#include <AL/al.h>
#include <msp/datafile/loader.h>
+#include "al.h"
#include "format.h"
#include "types.h"
#ifndef MSP_AL_CONTEXT_H_
#define MSP_AL_CONTEXT_H_
+#ifdef __APPLE__
+#include <OpenAL/alc.h>
+#else
#include <AL/alc.h>
+#endif
namespace Msp {
namespace AL {
#define MSP_AL_DEVICE_H_
#include <string>
+#ifdef __APPLE__
+#include <OpenAL/alc.h>
+#else
#include <AL/alc.h>
+#endif
namespace Msp {
namespace AL {
#ifndef MSP_AL_FORMAT_H_
#define MSP_AL_FORMAT_H_
-#include <AL/al.h>
+#include "al.h"
namespace Msp {
namespace AL {
#ifndef MSP_AL_LISTENER_H_
#define MSP_AL_LISTENER_H_
-#include <AL/al.h>
+#include "al.h"
namespace Msp {
namespace AL {
#define MSP_AL_SOURCE_H_
#include <vector>
-#include <AL/al.h>
+#include "al.h"
#include "types.h"
namespace Msp {