Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 20, 2011, 9:46:05 AM (13 years ago)
Author:
youngk
Message:

Reverting changes from last commit concerning debug output.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/sound/BaseSound.cc

    r8514 r8521  
    5151    {
    5252        RegisterRootObject(BaseSound);
    53        
    54         if (int error = alGetError())
    55             COUT(4) << "Sound: Received ALError before alIsSource(): " << SoundManager::getALErrorString(error) << std::endl;
    5653
    5754        // Initialise audioSource_ to a value that is not a source
     
    5956        // HACK!
    6057        this->audioSource_ = 0;
    61         while (alIsSource(++this->audioSource_));
    62        
    63         if (int error = alGetError())
    64             COUT(4) << "Sound: Received ALError after alIsSource(): " << SoundManager::getALErrorString(error) << std::endl;
     58        //while (alIsSource(++this->audioSource_));
    6559    }
    6660
Note: See TracChangeset for help on using the changeset viewer.