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/BaseSound.h

    r6031 r6046  
    5050
    5151        virtual void play();
    52         virtual void replay();      // is only needed for the AmbientSound list in SoundManager
    5352        virtual void stop();
    54         virtual void pause();
     53        void pause();
    5554
    5655        bool isPlaying();
     
    6665        bool getLoop() { return this->bLoop_; }
    6766        void setLoop(bool val) { this->bLoop_ = val; }
     67
     68        ALuint getALAudioSource(void);
    6869
    6970    protected:
Note: See TracChangeset for help on using the changeset viewer.