X-Git-Url: http://git.tdb.fi/?p=libs%2Fal.git;a=blobdiff_plain;f=source%2Fsoundscape.h;h=a703c992a79fb030f6848909c6dc71dc83cd9619;hp=97685328c87fb9f1c804c11e66fd274443c35df8;hb=2dc74a59cab851c594e9cb9a0c4f6ece340120a8;hpb=d17577639d3842baa0e4bf9afcfd2b4a096dd01b diff --git a/source/soundscape.h b/source/soundscape.h index 9768532..a703c99 100644 --- a/source/soundscape.h +++ b/source/soundscape.h @@ -15,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();