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/AudioManager.cc

    r513 r560  
    2727
    2828#include "AudioManager.h"
    29 
    30 
     29#include "../orxonox/core/Debug.h"
    3130
    3231namespace audio
     
    6160                        else
    6261                        {
    63                                 std::cout << "Started playing background sound"<<std::endl;
     62                                COUT(3) << "Info: Started playing background sound" << std::endl;
    6463                        }
    6564                }
     
    6968        void AudioManager::ambientStop()
    7069        {
    71                 std::cout << "Stopped playing background sound"<<std::endl;
     70                COUT(3) << "Info: Stopped playing background sound" << std::endl;
    7271        }
    7372
     
    8079                {
    8180                        bgSounds.push_back(tmp);
    82                         std::cout << "Added background sound "<<file<<std::endl;
     81                        COUT(3) << "Info: Added background sound " << file << std::endl;
    8382                }
    8483        }
     
    118117                                        }
    119118                                        bgSounds[currentBgSound].playback();
    120                                         std::cout << "Playing next background sound "<<std::endl;
     119                                        COUT(3) << "Info: Playing next background sound" << std::endl;
    121120                                }
    122121                        }
Note: See TracChangeset for help on using the changeset viewer.