]> git.tdb.fi Git - libs/al.git/blob - source/listener.h
Bump version for release
[libs/al.git] / source / listener.h
1 /* $Id$
2
3 This file is part of libmspal
4 Copyright © 2008 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
6 */
7
8 #ifndef MSP_AL_LIStENER_H_
9 #define MSP_AL_LISTENER_H_
10
11 #include <AL/al.h>
12
13 namespace Msp {
14 namespace AL {
15
16 /**
17 Represents the listener in the 3D environment.  There is only one listener in
18 OpenAL - this class is not instantiable and all of its functions are static.
19 */
20 class Listener
21 {
22 private:
23         Listener();
24 public:
25         static void attribute(ALenum, float);
26         static void attribute(ALenum, float, float, float);
27         static void attribute(ALenum, const float *);
28         static void set_position(float, float, float);
29         static void set_gain(float);
30 };
31
32 } // namespace AL
33 } // namespace Msp
34
35 #endif