[Orxonox-commit 3637] r8322 - code/branches/kicklib2/src/orxonox/sound
rgrieder at orxonox.net
rgrieder at orxonox.net
Mon Apr 25 00:47:16 CEST 2011
Author: rgrieder
Date: 2011-04-25 00:47:15 +0200 (Mon, 25 Apr 2011)
New Revision: 8322
Modified:
code/branches/kicklib2/src/orxonox/sound/SoundManager.cc
Log:
OpenAL message not anymore necessary: problem fixed by adding wrap_oal.dll on Windows.
Modified: code/branches/kicklib2/src/orxonox/sound/SoundManager.cc
===================================================================
--- code/branches/kicklib2/src/orxonox/sound/SoundManager.cc 2011-04-24 20:39:59 UTC (rev 8321)
+++ code/branches/kicklib2/src/orxonox/sound/SoundManager.cc 2011-04-24 22:47:15 UTC (rev 8322)
@@ -109,13 +109,7 @@
*/
this->device_ = alcOpenDevice(NULL);
if (this->device_ == NULL)
- {
- COUT(1) << "Sound: Could not open sound device. Have you installed OpenAL?" << std::endl;
-#ifdef ORXONOX_PLATFORM_WINDOWS
- COUT(1) << "Sound: Just getting the DLL with the dependencies is not enough for Windows (esp. Windows 7)!" << std::endl;
-#endif
ThrowException(InitialisationFailed, "Sound Error: Could not open sound device.");
- }
Loki::ScopeGuard closeDeviceGuard = Loki::MakeGuard(&alcCloseDevice, this->device_);
// Create sound context and make it the currently used one
More information about the Orxonox-commit
mailing list