Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 15, 2009, 10:36:45 PM (14 years ago)
Author:
rgrieder
Message:

Improved synchronisability of the sound classes (not yet Synchronisable though!).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/sound3/src/orxonox/gamestates/GSMainMenu.cc

    r6031 r6071  
    102102        if (GameMode::playsSound())
    103103        {
    104             this->ambient_->setLoop(true);
    105                         this->ambient_->setPlayOnLoad(true);
     104            this->ambient_->setLooping(true);
     105            this->ambient_->play(); // works without source
    106106        }
    107107
     
    136136                if (GameMode::playsSound())
    137137        {
    138                         this->ambient_->setSource(soundPathMain_);
     138            this->ambient_->setAmbientSource(soundPathMain_);
    139139                }
    140140        }
Note: See TracChangeset for help on using the changeset viewer.