Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5905 for code/branches/core5


Ignore:
Timestamp:
Oct 8, 2009, 11:49:01 AM (15 years ago)
Author:
rgrieder
Message:

Improved error message for the case OpenAL was not actually installed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core5/src/orxonox/sound/SoundManager.cc

    r5896 r5905  
    5151        this->device_ = alcOpenDevice(NULL);
    5252        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
    5358            ThrowException(InitialisationFailed, "OpenAL error: Could not open sound device.");
     59        }
    5460        Loki::ScopeGuard closeDeviceGuard = Loki::MakeGuard(&alcCloseDevice, this->device_);
    5561
Note: See TracChangeset for help on using the changeset viewer.