Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 11, 2009, 5:55:26 PM (16 years ago)
Author:
youngk
Message:

Made a big change to the sound system: Implemented cross-fading for multiple changing sources.
Compiles, however the game doesn't load sounds properly in the main menu and on entering a level.
It can load a sound via DistanceTrigger and fades in/out correctly, but second loading fails.

Please test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/sound3/src/orxonox/sound/AmbientSound.h

    r6031 r6046  
    4848
    4949        virtual void play();
    50         virtual void replay();      // is only needed for the AmbientSound list in SoundManager
     50        void replay();      // Continue playing without re-registering the sound
    5151        virtual void stop();
    52         virtual void pause();
     52        void doStop();
    5353
    5454        virtual void setSource(const std::string& source);
Note: See TracChangeset for help on using the changeset viewer.