Line | |
---|
1 | #ifndef __CLASS_AMBIENT_H__ |
---|
2 | #define __CLASS_AMBIENT_H__ |
---|
3 | |
---|
4 | #include <iostream> |
---|
5 | #include "../openal/al.h" |
---|
6 | #include "../openal/alc.h" |
---|
7 | #include "../openal/alut.h" |
---|
8 | |
---|
9 | |
---|
10 | namespace audio |
---|
11 | { |
---|
12 | class Ambient |
---|
13 | { |
---|
14 | public: |
---|
15 | Ambient(); |
---|
16 | private: |
---|
17 | ALboolean LoadALData(); |
---|
18 | |
---|
19 | |
---|
20 | ALuint Buffer; |
---|
21 | ALuint Source; |
---|
22 | ALfloat SourcePos[3]; |
---|
23 | ALfloat SourceVel[3]; |
---|
24 | ALfloat ListenerPos[3]; |
---|
25 | ALfloat ListenerVel[3]; |
---|
26 | ALfloat ListenerOri[6]; |
---|
27 | }; |
---|
28 | |
---|
29 | |
---|
30 | |
---|
31 | |
---|
32 | |
---|
33 | } |
---|
34 | |
---|
35 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.