X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbuffer.h;h=38ca36d6047f3417bd0b5a5b01292b7b126e4f5a;hb=6cc0f1735a00e8f9eb80ff0c9468fb67205f6d20;hp=3680e5411ac3f7dd900846a652dc00b0fcfc1fbc;hpb=97dae493948466867b9f661f45e451711dd6b41b;p=libs%2Fal.git diff --git a/source/buffer.h b/source/buffer.h index 3680e54..38ca36d 100644 --- a/source/buffer.h +++ b/source/buffer.h @@ -1,10 +1,3 @@ -/* $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_ @@ -17,8 +10,11 @@ Distributed under the LGPL 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 &); };