X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsoundscape.h;h=97685328c87fb9f1c804c11e66fd274443c35df8;hb=14008b157c64752ba7c1cef831124992c35c4646;hp=3eca7eafcf265fd484f681b9c43a78aa5ad1eb0f;hpb=72a8ee9c7d0ff973b20a27184b0c493d3fd5ae59;p=libs%2Fal.git diff --git a/source/soundscape.h b/source/soundscape.h index 3eca7ea..9768532 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 -Diestributed under the LGPL -*/ - #ifndef MSP_AL_SOUNDSCAPE_H_ #define MSP_AL_SOUNDSCAPE_H_ @@ -16,6 +9,9 @@ namespace AL { class Buffer; class Source; +/** +A SoundScape offers an easy way to play positional sound effects. +*/ class SoundScape { private: @@ -24,8 +20,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(); };