Changeset 4830 in orxonox.OLD for orxonox/trunk/src/lib/sound
- Timestamp:
- Jul 11, 2005, 5:43:37 PM (19 years ago)
- Location:
- orxonox/trunk/src/lib/sound
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/sound/sound_engine.cc
r4746 r4830 378 378 void SoundEngine::flushAllBuffers() 379 379 { 380 380 tIterator<SoundBuffer>* bufferIterator = this->bufferList->getIterator(); 381 381 SoundBuffer* enumBuffer = bufferIterator->nextElement(); 382 382 while (enumBuffer) … … 389 389 390 390 /** 391 * @brief SourceEngine::flushAllBuffers 392 */ 393 void SoundEngine::flushAllSources() 394 { 395 tIterator<SoundSource>* Iterator = this->sourceList->getIterator(); 396 SoundSource* enumSource = Iterator->nextElement(); 397 while (enumSource) 398 { 399 delete enumSource; 400 enumSource = Iterator->nextElement(); 401 } 402 delete Iterator; 403 } 404 405 406 /** 391 407 \brief initializes Audio in general 392 408 */ -
orxonox/trunk/src/lib/sound/sound_engine.h
r4761 r4830 91 91 void flushUnusedBuffers(); 92 92 void flushAllBuffers(); 93 void flushAllSources(); 93 94 bool initAudio(); 94 95
Note: See TracChangeset
for help on using the changeset viewer.