Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 17, 2007, 3:20:46 AM (16 years ago)
Author:
landauf
Message:
  • changed output from std::cout to COUT(level)
  • added SoftDebugLevel config-variable (its a hack, but it works fine)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/audio/AudioStream.cc

    r513 r560  
    2828
    2929#include "AudioStream.h"
     30#include "../orxonox/core/Debug.h"
    3031
    3132namespace audio
     
    103104                if (loaded)
    104105                {
    105             std::cout
     106            COUT(3)
    106107                << "version         " << vorbisInfo->version         << "\n"
    107108                << "channels        " << vorbisInfo->channels        << "\n"
     
    115116
    116117            for(int i = 0; i < vorbisComment->comments; i++)
    117                 std::cout << "   " << vorbisComment->user_comments[i] << "\n";
    118 
    119             std::cout << std::endl;
     118                COUT(3) << "   " << vorbisComment->user_comments[i] << "\n";
     119
     120            COUT(3) << std::endl;
    120121                }
    121122        }
Note: See TracChangeset for help on using the changeset viewer.