3 This file is part of libmspal
4 Copyright © 2008 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #ifndef MSP_AL_BUFFER_H_
9 #define MSP_AL_BUFFER_H_
13 #include <msp/datafile/loader.h>
23 Buffers are used to store audio data and feed it into a Source.
28 class Loader: public DataFile::Loader
36 void sound_data(const std::string &);
46 uint get_id() const { return id; }
47 void data(Format, const void *, sizei, sizei);
48 void data(const Sound &);
49 void load_data(const std::string &);