Changeset 338 for code/branches/audio/src/audio/Ambient.h
- Timestamp:
- Nov 28, 2007, 6:17:23 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/audio/src/audio/Ambient.h
r334 r338 7 7 #include "../../include/AL/alut.h" 8 8 9 #include "AudioObject.h" 9 10 10 11 namespace audio … … 13 14 { 14 15 public: 15 Ambient(); 16 Ambient(std::string audioFile); 17 ~Ambient(); 16 18 void play(); 17 19 private: 18 ALboolean LoadALData(); 19 void SetListenerValues(); 20 void KillALData(); 21 22 ALuint Buffer; 23 ALuint Source; 24 ALfloat SourcePos[3]; 25 ALfloat SourceVel[3]; 26 ALfloat ListenerPos[3]; 27 ALfloat ListenerVel[3]; 28 ALfloat ListenerOri[6]; 20 AudioObject* a; 29 21 }; 30 31 32 33 34 35 22 } 36 23
Note: See TracChangeset
for help on using the changeset viewer.