]> git.tdb.fi Git - libs/al.git/blobdiff - source/buffer.h
Fix compilation on OS X
[libs/al.git] / source / buffer.h
index 3680e5411ac3f7dd900846a652dc00b0fcfc1fbc..3780b0b410d8f8c3161f0c6ba3fafc8da000ac45 100644 (file)
@@ -1,24 +1,20 @@
-/* $Id$
-
-This file is part of libmspal
-Copyright © 2008 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef MSP_AL_BUFFER_H_
 #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"
 
 namespace Msp {
 namespace AL {
 
-class Sound;
+class Waveform;
 
+/**
+Buffers are used to store audio data and feed it into a Source.
+*/
 class Buffer
 {
 public:
@@ -42,7 +38,7 @@ public:
 
        uint get_id() const { return id; }
        void data(Format, const void *, sizei, sizei);
-       void data(const Sound &);
+       void data(const Waveform &);
        void load_data(const std::string &);
 };