X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsoundscape.h;h=a703c992a79fb030f6848909c6dc71dc83cd9619;hb=2dc74a59cab851c594e9cb9a0c4f6ece340120a8;hp=db935572a709149f987ca278e43592eda18d871e;hpb=58dc1e7c15f928d0f861a20c46f2be4112bf5baf;p=libs%2Fal.git diff --git a/source/soundscape.h b/source/soundscape.h index db93557..a703c99 100644 --- a/source/soundscape.h +++ b/source/soundscape.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_SOUNDSCAPE_H_ #define MSP_AL_SOUNDSCAPE_H_ @@ -16,14 +9,20 @@ namespace AL { class Buffer; class Source; +/** +A SoundScape offers an easy way to play positional sound effects. +*/ class SoundScape { private: + float gain; std::list sources; public: + SoundScape(); ~SoundScape(); + void set_gain(float); void add_source(Source &); Source &play(const Buffer &, float, float, float); void tick();