Changeset 8043 for code/branches/mac_osx/src/orxonox/sound
- Timestamp:
- Mar 8, 2011, 6:26:51 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/mac_osx/src/orxonox/sound/SoundManager.cc
r7767 r8043 83 83 SetConfigValue(bDisableSound_, false); 84 84 if (bDisableSound_) 85 ThrowException(InitialisationAborted, "Sound: Not loading at all"); 85 ThrowException(InitialisationAborted, "Sound: Not loading at all"); 86 86 if (!alutInitWithoutContext(NULL, NULL)) 87 87 ThrowException(InitialisationFailed, "Sound Error: ALUT initialisation failed: " << alutGetErrorString(alutGetError())); … … 131 131 GameMode::setPlaysSound(true); 132 132 Loki::ScopeGuard resetPlaysSoundGuard = Loki::MakeGuard(&GameMode::setPlaysSound, false); 133 133 134 134 // Get some information about the sound 135 135 if (const char* version = alGetString(AL_VERSION)) 136 COUT(4) << "Sound: --- OpenAL Version: " << version << std::endl; 136 COUT(4) << "Sound: --- OpenAL Version: " << version << std::endl; 137 137 if (const char* vendor = alGetString(AL_VENDOR)) 138 138 COUT(4) << "Sound: --- OpenAL Vendor : " << vendor << std::endl;
Note: See TracChangeset
for help on using the changeset viewer.