Changeset 5115 in orxonox.OLD for trunk/src/lib/sound
- Timestamp:
- Aug 24, 2005, 1:30:13 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/sound/sound_engine.cc
r5111 r5115 215 215 { 216 216 tIterator<BaseObject>* sourceIterator = this->sourceList->getIterator(); 217 SoundSource* enumSource = (SoundSource*)sourceIterator-> nextElement();217 SoundSource* enumSource = (SoundSource*)sourceIterator->firstElement(); 218 218 while (enumSource) 219 219 { … … 228 228 { 229 229 tIterator<BaseObject>* bufferIterator = this->bufferList->getIterator(); 230 SoundBuffer* enumBuffer = (SoundBuffer*)bufferIterator-> nextElement();230 SoundBuffer* enumBuffer = (SoundBuffer*)bufferIterator->firstElement(); 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-> nextElement();300 SoundSource* enumSource = (SoundSource*)sourceIterator->firstElement(); 301 301 while (enumSource) 302 302 { … … 345 345 { 346 346 tIterator<BaseObject>* iterator = this->sourceList->getIterator(); 347 SoundSource* enumSource = (SoundSource*)iterator-> nextElement();347 SoundSource* enumSource = (SoundSource*)iterator->firstElement(); 348 348 while (enumSource) 349 349 { … … 373 373 { 374 374 tIterator<BaseObject>* bufferIterator = this->bufferList->getIterator(); 375 SoundBuffer* enumBuffer = (SoundBuffer*)bufferIterator-> nextElement();375 SoundBuffer* enumBuffer = (SoundBuffer*)bufferIterator->firstElement(); 376 376 while (enumBuffer) 377 377 { 378 378 tIterator<BaseObject>* sourceIterator = this->sourceList->getIterator(); 379 SoundSource* enumSource = (SoundSource*)sourceIterator-> nextElement();379 SoundSource* enumSource = (SoundSource*)sourceIterator->firstElement(); 380 380 while (enumSource) 381 381 { … … 401 401 { 402 402 tIterator<BaseObject>* bufferIterator = this->bufferList->getIterator(); 403 SoundBuffer* enumBuffer = (SoundBuffer*)bufferIterator-> nextElement();403 SoundBuffer* enumBuffer = (SoundBuffer*)bufferIterator->firstElement(); 404 404 while (enumBuffer) 405 405 { … … 419 419 { 420 420 tIterator<BaseObject>* Iterator = this->sourceList->getIterator(); 421 SoundSource* enumSource = (SoundSource*)Iterator-> nextElement();421 SoundSource* enumSource = (SoundSource*)Iterator->firstElement(); 422 422 while (enumSource) 423 423 {
Note: See TracChangeset
for help on using the changeset viewer.