]> git.tdb.fi Git - libs/al.git/blobdiff - source/listener.h
Initial revision
[libs/al.git] / source / listener.h
diff --git a/source/listener.h b/source/listener.h
new file mode 100644 (file)
index 0000000..5725170
--- /dev/null
@@ -0,0 +1,31 @@
+/* $Id$
+
+This file is part of libmspal
+Copyright © 2008 Mikko Rasa, Mikkosoft Productions
+Diestributed under the LGPL
+*/
+
+#ifndef MSP_AL_LIStENER_H_
+#define MSP_AL_LISTENER_H_
+
+#include <AL/al.h>
+
+namespace Msp {
+namespace AL {
+
+class Listener
+{
+private:
+       Listener();
+public:
+       static void attribute(ALenum, float);
+       static void attribute(ALenum, float, float, float);
+       static void attribute(ALenum, const float *);
+       static void set_position(float, float, float);
+       static void set_gain(float);
+};
+
+} // namespace AL
+} // namespace Msp
+
+#endif