X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fsoundscape.h;fp=source%2Fsoundscape.h;h=3eca7eafcf265fd484f681b9c43a78aa5ad1eb0f;hb=72a8ee9c7d0ff973b20a27184b0c493d3fd5ae59;hp=0000000000000000000000000000000000000000;hpb=35ea5cc8d1eb8c806885d27441548f630e7b1266;p=libs%2Fal.git diff --git a/source/soundscape.h b/source/soundscape.h new file mode 100644 index 0000000..3eca7ea --- /dev/null +++ b/source/soundscape.h @@ -0,0 +1,35 @@ +/* $Id$ + +This file is part of libmspal +Copyright © 2008 Mikko Rasa, Mikkosoft Productions +Diestributed under the LGPL +*/ + +#ifndef MSP_AL_SOUNDSCAPE_H_ +#define MSP_AL_SOUNDSCAPE_H_ + +#include + +namespace Msp { +namespace AL { + +class Buffer; +class Source; + +class SoundScape +{ +private: + std::list sources; + +public: + ~SoundScape(); + + void add_source(Source *); + Source *play(const Buffer &, float, float, float); + void tick(); +}; + +} // namespace AL +} // namespace Msp + +#endif