X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbuffer.h;h=3780b0b410d8f8c3161f0c6ba3fafc8da000ac45;hb=635bc62fa1795f910b7e95aed6592856e17118d8;hp=b9020ee907253a09f1c39acf2494122930425b5c;hpb=2ff6e1cc7fcae3099b127a886360d7919a4b3efa;p=libs%2Fal.git diff --git a/source/buffer.h b/source/buffer.h index b9020ee..3780b0b 100644 --- a/source/buffer.h +++ b/source/buffer.h @@ -1,23 +1,16 @@ -/* $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 -#include #include +#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. @@ -45,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 &); };