]> git.tdb.fi Git - libs/al.git/blobdiff - source/device.h
Fix compilation on OS X
[libs/al.git] / source / device.h
index 4c80d9eb84e64e64820332f35671bf0799b2559e..117a5514e67ce8e84e5d60f79235312b0562be22 100644 (file)
@@ -1,15 +1,12 @@
-/* $Id$
-
-This file is part of libmspal
-Copyright © 2008 Mikko Rasa, Mikkosoft Productions
-Diestributed under the LGPL
-*/
-
 #ifndef MSP_AL_DEVICE_H_
 #define MSP_AL_DEVICE_H_
 
 #include <string>
+#ifdef __APPLE__
+#include <OpenAL/alc.h>
+#else
 #include <AL/alc.h>
+#endif
 
 namespace Msp {
 namespace AL {
@@ -22,6 +19,8 @@ private:
 public:
        Device();
        Device(const std::string &);
+       ~Device();
+
        ALCdevice *get_device() { return dev; }
 };