X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsoundscape.h;h=163818f159941b0ed7746507116e41706a8eb6ea;hb=bb3f1a84f09963031a88175c4f44c872d508447b;hp=1d8a9c7a798acc052196f442c87682091e11832d;hpb=8e69eba7dc53233c169152bdf654f032fcd0629f;p=libs%2Fal.git diff --git a/source/soundscape.h b/source/soundscape.h index 1d8a9c7..163818f 100644 --- a/source/soundscape.h +++ b/source/soundscape.h @@ -16,6 +16,9 @@ namespace AL { class Buffer; class Source; +/** +A SoundScape offers an easy way to play positional sound effects. +*/ class SoundScape { private: @@ -24,8 +27,8 @@ private: public: ~SoundScape(); - void add_source(Source *); - Source *play(const Buffer &, float, float, float); + void add_source(Source &); + Source &play(const Buffer &, float, float, float); void tick(); };