Changeset 7767 for code/branches/ois_update/src/orxonox/sound
- Timestamp:
- Dec 15, 2010, 5:45:16 PM (14 years ago)
- Location:
- code/branches/ois_update/src/orxonox/sound
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ois_update/src/orxonox/sound/AmbientSound.cc
r6417 r7767 48 48 49 49 // Ambient sounds always fade in 50 this->setVolume(0 );50 this->setVolume(0.0f); 51 51 this->registerVariables(); 52 52 } -
code/branches/ois_update/src/orxonox/sound/SoundManager.cc
r7701 r7767 83 83 SetConfigValue(bDisableSound_, false); 84 84 if (bDisableSound_) 85 ThrowException(InitialisationAborted, "Sound: Not loading at all"); 86 85 ThrowException(InitialisationAborted, "Sound: Not loading at all"); 87 86 if (!alutInitWithoutContext(NULL, NULL)) 88 87 ThrowException(InitialisationFailed, "Sound Error: ALUT initialisation failed: " << alutGetErrorString(alutGetError())); … … 132 131 GameMode::setPlaysSound(true); 133 132 Loki::ScopeGuard resetPlaysSoundGuard = Loki::MakeGuard(&GameMode::setPlaysSound, false); 134 133 135 134 // Get some information about the sound 136 135 if (const char* version = alGetString(AL_VERSION)) 137 COUT(4) << "Sound: --- OpenAL Version: " << version << std::endl; 136 COUT(4) << "Sound: --- OpenAL Version: " << version << std::endl; 138 137 if (const char* vendor = alGetString(AL_VENDOR)) 139 138 COUT(4) << "Sound: --- OpenAL Vendor : " << vendor << std::endl;
Note: See TracChangeset
for help on using the changeset viewer.