Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 11, 2010, 3:12:37 PM (15 years ago)
Author:
erwin
Message:

Commit before rebase, attempt to fix everything ;-)

File:
1 edited

Legend:

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

    r6435 r6504  
    141141        alSource3f(this->audioSource_, AL_DIRECTION, 0, 0, 0);
    142142        if (ALint error = alGetError())
    143             COUT(2) << "Sound Warning: Setting source parameters to 0 failed: " << getALErrorString(error) << std::endl;
     143            COUT(2) << "Sound: Warning: Setting source parameters to 0 failed: " << getALErrorString(error) << std::endl;
    144144        assert(this->soundBuffer_ != NULL);
    145145        alSourcei(this->audioSource_, AL_BUFFER, this->soundBuffer_->getBuffer());
    146146        if (ALuint error = alGetError())
    147             COUT(1) << "Sound Error: Could not set buffer \"" << this->source_ << "\": " << getALErrorString(error) << std::endl;
     147            COUT(1) << "Sound: Error: Could not set buffer \"" << this->source_ << "\": " << getALErrorString(error) << std::endl;
    148148    }
    149149
     
    152152        this->volume_ = clamp(vol, 0.0f, 1.0f);
    153153        if (this->volume_ != vol)
    154             COUT(2) << "Sound warning: volume out of range, clamping value." << std::endl;
     154            COUT(2) << "Sound: Warning: volume out of range, clamping value." << std::endl;
    155155        this->updateVolume();
    156156    }
     
    178178        if (pitch > 2 || pitch < 0.5)
    179179        {
    180             COUT(2) << "Sound warning: pitch out of range, cropping value." << std::endl;
     180            COUT(2) << "Sound: Warning: pitch out of range, cropping value." << std::endl;
    181181            pitch = pitch > 2 ? 2 : pitch;
    182182            pitch = pitch < 0.5 ? 0.5 : pitch;
     
    232232            if (ALuint error = alGetError())
    233233            {
    234                 COUT(1) << "Sound Error: Could not set buffer \"" << source << "\": " << getALErrorString(error) << std::endl;
     234                COUT(1) << "Sound: Error: Could not set buffer \"" << source << "\": " << getALErrorString(error) << std::endl;
    235235                return;
    236236            }
Note: See TracChangeset for help on using the changeset viewer.