Changeset 8322
- Timestamp:
- Apr 25, 2011, 12:47:15 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/kicklib2/src/orxonox/sound/SoundManager.cc
r8285 r8322 110 110 this->device_ = alcOpenDevice(NULL); 111 111 if (this->device_ == NULL) 112 {113 COUT(1) << "Sound: Could not open sound device. Have you installed OpenAL?" << std::endl;114 #ifdef ORXONOX_PLATFORM_WINDOWS115 COUT(1) << "Sound: Just getting the DLL with the dependencies is not enough for Windows (esp. Windows 7)!" << std::endl;116 #endif117 112 ThrowException(InitialisationFailed, "Sound Error: Could not open sound device."); 118 }119 113 Loki::ScopeGuard closeDeviceGuard = Loki::MakeGuard(&alcCloseDevice, this->device_); 120 114
Note: See TracChangeset
for help on using the changeset viewer.