Changeset 10916 for code/branches/cpp11_v2/src/orxonox/sound
- Timestamp:
- Dec 2, 2015, 11:22:03 PM (9 years ago)
- Location:
- code/branches/cpp11_v2/src/orxonox/sound
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/orxonox/sound/SoundManager.cc
r10821 r10916 407 407 if (ambient != nullptr) 408 408 { 409 for ( auto & elem: this->ambientSounds_)410 { 411 if ( elem.first == ambient)409 for (std::pair<AmbientSound*, bool>& pair : this->ambientSounds_) 410 { 411 if (pair.first == ambient) 412 412 { 413 elem.second = true;414 this->fadeOut( elem.first);413 pair.second = true; 414 this->fadeOut(pair.first); 415 415 return; 416 416 } -
code/branches/cpp11_v2/src/orxonox/sound/SoundStreamer.cc
r10821 r10916 68 68 int current_section; 69 69 70 for( auto& initbuffer : initbuffers)70 for(ALuint& initbuffer : initbuffers) 71 71 { 72 72 long ret = ov_read(&vf, inbuffer, sizeof(inbuffer), 0, 2, 1, ¤t_section);
Note: See TracChangeset
for help on using the changeset viewer.