X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsoundscape.h;h=a703c992a79fb030f6848909c6dc71dc83cd9619;hb=2dc74a59cab851c594e9cb9a0c4f6ece340120a8;hp=163818f159941b0ed7746507116e41706a8eb6ea;hpb=2ff6e1cc7fcae3099b127a886360d7919a4b3efa;p=libs%2Fal.git diff --git a/source/soundscape.h b/source/soundscape.h index 163818f..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_ @@ -22,11 +15,14 @@ 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();