Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 13, 2009, 5:39:22 PM (14 years ago)
Author:
rgrieder
Message:

Fixed bug: Ambient sounds were sometimes not played at all (caused by the source management changes).
And removed some debug output.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/orxonox/sound/SoundBuffer.cc

    r6332 r6340  
    3333#include <vorbis/vorbisfile.h>
    3434
    35 #include "util/Clock.h"
    36 #include "core/Game.h"
    3735#include "util/Exception.h"
    3836#include "util/StringUtils.h"
     
    6361        if (getLowercase(extension) == "ogg")
    6462        {
    65             int before = Game::getInstance().getGameClock().getRealMicroseconds();
    6663            // Try ogg loader
    6764            this->loadOgg(fileInfo, dataStream);
    68             int after = Game::getInstance().getGameClock().getRealMicroseconds();
    69             COUT(0) << filename << ": " << (after - before) << std::endl;
    7065        }
    7166        else
Note: See TracChangeset for help on using the changeset viewer.