]> git.tdb.fi Git - libs/al.git/blobdiff - source/soundscape.h
Add more methods to Source
[libs/al.git] / source / soundscape.h
diff --git a/source/soundscape.h b/source/soundscape.h
new file mode 100644 (file)
index 0000000..3eca7ea
--- /dev/null
@@ -0,0 +1,35 @@
+/* $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_
+
+#include <list>
+
+namespace Msp {
+namespace AL {
+
+class Buffer;
+class Source;
+
+class SoundScape
+{
+private:
+       std::list<Source *> sources;
+
+public:
+       ~SoundScape();
+
+       void add_source(Source *);
+       Source *play(const Buffer &, float, float, float);
+       void tick();
+};
+
+} // namespace AL
+} // namespace Msp
+
+#endif