X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsoundscape.h;h=97685328c87fb9f1c804c11e66fd274443c35df8;hb=14008b157c64752ba7c1cef831124992c35c4646;hp=1d8a9c7a798acc052196f442c87682091e11832d;hpb=8e69eba7dc53233c169152bdf654f032fcd0629f;p=libs%2Fal.git diff --git a/source/soundscape.h b/source/soundscape.h index 1d8a9c7..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 -Distributed 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(); };