Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 15, 2010, 5:45:16 PM (13 years ago)
Author:
youngk
Message:

Committing a few minor changes to some files. They affect: Keyboard input on the Mac; Introduction of new Moods and debugging of Mac sound.

File:
1 edited

Legend:

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

    r7701 r7767  
    8383        SetConfigValue(bDisableSound_, false);
    8484        if (bDisableSound_)
    85             ThrowException(InitialisationAborted, "Sound: Not loading at all");
    86 
     85            ThrowException(InitialisationAborted, "Sound: Not loading at all");       
    8786        if (!alutInitWithoutContext(NULL, NULL))
    8887            ThrowException(InitialisationFailed, "Sound Error: ALUT initialisation failed: " << alutGetErrorString(alutGetError()));
     
    132131        GameMode::setPlaysSound(true);
    133132        Loki::ScopeGuard resetPlaysSoundGuard = Loki::MakeGuard(&GameMode::setPlaysSound, false);
    134 
     133       
    135134        // Get some information about the sound
    136135        if (const char* version = alGetString(AL_VERSION))
    137             COUT(4) << "Sound: --- OpenAL Version: " << version << std::endl;
     136            COUT(4) << "Sound: --- OpenAL Version: " << version << std::endl;           
    138137        if (const char* vendor = alGetString(AL_VENDOR))
    139138            COUT(4) << "Sound: --- OpenAL Vendor : " << vendor << std::endl;
Note: See TracChangeset for help on using the changeset viewer.