Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 21, 2009, 1:28:10 PM (15 years ago)
Author:
rgrieder
Message:

Found some end of line leftover spaces.

Location:
code/branches/presentation2/src/orxonox/sound
Files:
4 edited

Legend:

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

    r6387 r6388  
    118118                this->setSource(path);
    119119            else
    120                 COUT(3) << "Sound: " << source << ": Not a valid name! Ambient sound will not change." << std::endl;       
     120                COUT(3) << "Sound: " << source << ": Not a valid name! Ambient sound will not change." << std::endl;
    121121        }
    122122    }
     
    134134        if (this->isActive())
    135135            this->play();
    136         else 
     136        else
    137137            this->stop();
    138138    }
  • code/branches/presentation2/src/orxonox/sound/BaseSound.cc

    r6387 r6388  
    177177            pitch = pitch > 2 ? 2 : pitch;
    178178            pitch = pitch < 0.5 ? 0.5 : pitch;
    179         }       
     179        }
    180180        this->pitch_ = pitch;
    181181        if (alIsSource(this->audioSource_))
     
    224224        if (alIsSource(this->audioSource_)) // already playing or paused
    225225        {
    226             // Set new buffer 
     226            // Set new buffer
    227227            alSourcei(this->audioSource_, AL_BUFFER, this->soundBuffer_->getBuffer());
    228228            if (ALuint error = alGetError())
  • code/branches/presentation2/src/orxonox/sound/SoundManager.cc

    r6387 r6388  
    254254    }
    255255
    256     float SoundManager::getVolume(SoundType::Value type) 
     256    float SoundManager::getVolume(SoundType::Value type)
    257257    {
    258258        if (type < 0 || type > SoundType::Effects)
     
    261261    }
    262262
    263     float SoundManager::getRealVolume(SoundType::Value type) 
     263    float SoundManager::getRealVolume(SoundType::Value type)
    264264    {
    265265        if (type != SoundType::Music && type != SoundType::Effects)
     
    339339            }
    340340
    341             if (!this->ambientSounds_.empty()) 
     341            if (!this->ambientSounds_.empty())
    342342            {
    343343                this->fadeOut(ambientSounds_.front().first);
     
    354354            return;
    355355
    356         if (this->ambientSounds_.front().first == oldAmbient) 
     356        if (this->ambientSounds_.front().first == oldAmbient)
    357357        {
    358358            this->fadeOut(oldAmbient);
  • code/branches/presentation2/src/orxonox/sound/WorldSound.cc

    r6387 r6388  
    110110    }
    111111
    112     void WorldSound::changedActivity() 
     112    void WorldSound::changedActivity()
    113113    {
    114114        SUPER(WorldSound, changedActivity);
    115115        if (this->isActive())
    116116            this->play();
    117         else 
     117        else
    118118            this->stop();
    119119    }
Note: See TracChangeset for help on using the changeset viewer.