Changeset 5111 in orxonox.OLD for trunk/src/lib/sound
- Timestamp:
- Aug 23, 2005, 11:13:56 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/sound/sound_engine.cc
r5110 r5111 215 215 { 216 216 tIterator<BaseObject>* sourceIterator = this->sourceList->getIterator(); 217 SoundSource* enumSource = (SoundSource*)sourceIterator-> firstElement();217 SoundSource* enumSource = (SoundSource*)sourceIterator->nextElement(); 218 218 while (enumSource) 219 219 { … … 228 228 { 229 229 tIterator<BaseObject>* bufferIterator = this->bufferList->getIterator(); 230 SoundBuffer* enumBuffer = (SoundBuffer*)bufferIterator-> firstElement();230 SoundBuffer* enumBuffer = (SoundBuffer*)bufferIterator->nextElement(); 231 231 while (enumBuffer) 232 232 { … … 298 298 // look if there are any sources that have the buffer still loaded 299 299 tIterator<BaseObject>* sourceIterator = this->sourceList->getIterator(); 300 SoundSource* enumSource = (SoundSource*)sourceIterator-> firstElement();300 SoundSource* enumSource = (SoundSource*)sourceIterator->nextElement(); 301 301 while (enumSource) 302 302 { … … 345 345 { 346 346 tIterator<BaseObject>* iterator = this->sourceList->getIterator(); 347 SoundSource* enumSource = (SoundSource*)iterator-> firstElement();347 SoundSource* enumSource = (SoundSource*)iterator->nextElement(); 348 348 while (enumSource) 349 349 { … … 373 373 { 374 374 tIterator<BaseObject>* bufferIterator = this->bufferList->getIterator(); 375 SoundBuffer* enumBuffer = (SoundBuffer*)bufferIterator-> firstElement();375 SoundBuffer* enumBuffer = (SoundBuffer*)bufferIterator->nextElement(); 376 376 while (enumBuffer) 377 377 { 378 378 tIterator<BaseObject>* sourceIterator = this->sourceList->getIterator(); 379 SoundSource* enumSource = (SoundSource*)sourceIterator-> firstElement();379 SoundSource* enumSource = (SoundSource*)sourceIterator->nextElement(); 380 380 while (enumSource) 381 381 { … … 401 401 { 402 402 tIterator<BaseObject>* bufferIterator = this->bufferList->getIterator(); 403 SoundBuffer* enumBuffer = (SoundBuffer*)bufferIterator-> firstElement();403 SoundBuffer* enumBuffer = (SoundBuffer*)bufferIterator->nextElement(); 404 404 while (enumBuffer) 405 405 { … … 419 419 { 420 420 tIterator<BaseObject>* Iterator = this->sourceList->getIterator(); 421 SoundSource* enumSource = (SoundSource*)Iterator-> firstElement();421 SoundSource* enumSource = (SoundSource*)Iterator->nextElement(); 422 422 while (enumSource) 423 423 {
Note: See TracChangeset
for help on using the changeset viewer.