]> git.tdb.fi Git - libs/al.git/blobdiff - source/soundscape.h
Add gain to SoundScape
[libs/al.git] / source / soundscape.h
index db935572a709149f987ca278e43592eda18d871e..a703c992a79fb030f6848909c6dc71dc83cd9619 100644 (file)
@@ -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<Source *> sources;
 
 public:
+       SoundScape();
        ~SoundScape();
 
+       void set_gain(float);
        void add_source(Source &);
        Source &play(const Buffer &, float, float, float);
        void tick();