]> git.tdb.fi Git - libs/al.git/blobdiff - source/soundscape.h
Add gain to SoundScape
[libs/al.git] / source / soundscape.h
index 97685328c87fb9f1c804c11e66fd274443c35df8..a703c992a79fb030f6848909c6dc71dc83cd9619 100644 (file)
@@ -15,11 +15,14 @@ A SoundScape offers an easy way to play positional sound effects.
 class SoundScape
 {
 private:
+       float gain;
        std::list<Source *> sources;
 
 public:
+       SoundScape();
        ~SoundScape();
 
+       void set_gain(float);
        void add_source(Source &);
        Source &play(const Buffer &, float, float, float);
        void tick();