Changeset 419 for code/branches/FICN/src/audio/AudioManager.h
- Timestamp:
- Dec 5, 2007, 7:28:46 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/audio/AudioManager.h
r409 r419 6 6 #include "AudioBuffer.h" 7 7 #include "AudioSource.h" 8 #include "AudioStream.h" 8 9 9 10 namespace audio … … 12 13 { 13 14 public: 15 14 16 // Init audio 15 17 AudioManager(); 18 16 19 // Kill audio and set buffers, sources and memory free 17 20 ~AudioManager(); 21 18 22 // Set listener position 19 23 void setPos(std::vector<float> newPosition); 24 20 25 // Set listener speed 21 26 void setSpeed(std::vector<float> newSpeed); 27 22 28 // Set listener orientation (first is direction 23 29 // the listener looks at, the second is the direction 24 30 // upwards the listener) 25 31 void setOri(std::vector<float> at, std::vector<float> up); 32 26 33 // Parses given xml string 27 34 void loadParams(); 35 36 // Update 37 void update(); 38 28 39 private: 29 40 41 // Backgroundsound 42 AudioStream bgSound; 30 43 31 44 // Vector containing all audio files
Note: See TracChangeset
for help on using the changeset viewer.