Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/audio/src/audio/Ambient.h @ 327

Last change on this file since 327 was 327, checked in by nicolape, 16 years ago

Added audio test class

File size: 447 bytes
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
10namespace 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.