Changeset 5905 for code/branches/core5/src/orxonox/sound/SoundManager.cc
- Timestamp:
- Oct 8, 2009, 11:49:01 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/orxonox/sound/SoundManager.cc
r5896 r5905 51 51 this->device_ = alcOpenDevice(NULL); 52 52 if (this->device_ == NULL) 53 { 54 COUT(0) << "OpenaAL: Could not open sound device. Have you installed OpenAL?" << std::endl; 55 #ifdef ORXONOX_PLATFORM_WINDOWS 56 COUT(0) << "Just getting the DLL with the dependencies is not enough for Windows (esp. Windows 7)!" << std::endl; 57 #endif 53 58 ThrowException(InitialisationFailed, "OpenAL error: Could not open sound device."); 59 } 54 60 Loki::ScopeGuard closeDeviceGuard = Loki::MakeGuard(&alcCloseDevice, this->device_); 55 61
Note: See TracChangeset
for help on using the changeset viewer.