Changeset 10918 for code/branches/cpp11_v2/src/orxonox
- Timestamp:
- Dec 5, 2015, 7:10:56 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
r10916 r10918 576 576 ALuint source = this->availableSoundSources_.back(); 577 577 this->availableSoundSources_.pop_back(); 578 this->usedSoundSources_. push_back(std::make_pair(source, object));578 this->usedSoundSources_.emplace_back(source, object); 579 579 return source; 580 580 } … … 588 588 if (alIsSource(source) && !alGetError()) 589 589 { 590 this->usedSoundSources_. push_back(std::make_pair(source, object));590 this->usedSoundSources_.emplace_back(source, object); 591 591 return source; 592 592 } -
code/branches/cpp11_v2/src/orxonox/sound/WorldAmbientSound.cc
r10624 r10918 49 49 this->ambientSound_ = new AmbientSound(); 50 50 this->registerVariables(); 51 soundList_. push_back("Earth.ogg");52 soundList_. push_back("Jupiter.ogg");53 soundList_. push_back("Mars.ogg");54 soundList_. push_back("allgorythm-lift_up.ogg");55 soundList_. push_back("allgorythm-resonance_blaster.ogg");56 soundList_. push_back("AlphaCentauri.ogg");57 soundList_. push_back("Asteroid_rocks.ogg");58 soundList_. push_back("Ganymede.ogg");59 soundList_. push_back("luke_grey_-_hypermode.ogg");51 soundList_.emplace_back("Earth.ogg"); 52 soundList_.emplace_back("Jupiter.ogg"); 53 soundList_.emplace_back("Mars.ogg"); 54 soundList_.emplace_back("allgorythm-lift_up.ogg"); 55 soundList_.emplace_back("allgorythm-resonance_blaster.ogg"); 56 soundList_.emplace_back("AlphaCentauri.ogg"); 57 soundList_.emplace_back("Asteroid_rocks.ogg"); 58 soundList_.emplace_back("Ganymede.ogg"); 59 soundList_.emplace_back("luke_grey_-_hypermode.ogg"); 60 60 61 61 }
Note: See TracChangeset
for help on using the changeset viewer.