Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6088


Ignore:
Timestamp:
Nov 18, 2009, 2:18:47 PM (14 years ago)
Author:
youngk
Message:

More or less nicely working sound module. Cross-Fading works well (hacky). Not synchronisable yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/sound3/src/orxonox/sound/SoundManager.cc

    r6071 r6088  
    255255    void SoundManager::processCrossFading(float dt)
    256256    {
     257       
     258        // Hacky solution to the fade delay while loading a level.
     259        if(dt > 0.2)
     260        {
     261            return;
     262        }
     263       
    257264        // FADE IN
    258265        for (std::list<AmbientSound*>::iterator it= this->fadeInList_.begin(); it != this->fadeInList_.end(); it)
Note: See TracChangeset for help on using the changeset viewer.