Changeset 4209 in orxonox.OLD for orxonox/branches/openAL/src/lib/sound/sound_engine.h
- Timestamp:
- May 17, 2005, 10:38:59 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/openAL/src/lib/sound/sound_engine.h
r4207 r4209 1 1 /*! 2 2 \file sound_engine.h 3 \brief Definition of the SoundEngine singleton Class 4 3 \brief Definition of the SoundEngine singleton Class 5 4 */ 6 5 … … 78 77 79 78 void setListener(PNode* listener); 79 void setDopplerValues(ALfloat dopplerFactor, ALfloat dopplerVelocity); 80 80 81 81 82 void addBuffer(SoundBuffer* buffer); … … 86 87 void update(void); 87 88 89 // administrative 88 90 void flushUnusedBuffers(void); 91 bool initAudio(void); 89 92 90 93 // error handling: … … 92 95 // static void PrintALCErrorString(ALenum err); 93 96 97 94 98 private: 95 99 SoundEngine(void); 96 100 static SoundEngine* singletonRef; 97 101 98 bool initAudio(void);99 102 100 103 PNode* listener; //!< The listener of the Scene
Note: See TracChangeset
for help on using the changeset viewer.