]> git.tdb.fi Git - libs/al.git/blob - source/listener.h
Drop copyright notices and Id tags from source files
[libs/al.git] / source / listener.h
1 #ifndef MSP_AL_LIStENER_H_
2 #define MSP_AL_LISTENER_H_
3
4 #include <AL/al.h>
5
6 namespace Msp {
7 namespace AL {
8
9 /**
10 Represents the listener in the 3D environment.  There is only one listener in
11 OpenAL - this class is not instantiable and all of its functions are static.
12 */
13 class Listener
14 {
15 private:
16         Listener();
17 public:
18         static void attribute(ALenum, float);
19         static void attribute(ALenum, float, float, float);
20         static void attribute(ALenum, const float *);
21         static void set_position(float, float, float);
22         static void set_gain(float);
23 };
24
25 } // namespace AL
26 } // namespace Msp
27
28 #endif