Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 4, 2009, 4:03:03 PM (16 years ago)
Author:
youngk
Message:

Implemented automatic ambient sound file path fetch according to current mood.
Valid moods are: default and dnb
BUG Loading of a second sound fails (independent of the file used). Probably an error in BaseSound::setSource().

File:
1 edited

Legend:

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

    r5982 r6031  
    5353        void registerAmbientSound(BaseSound* newAmbient);
    5454        void unregisterAmbientSound(BaseSound* currentAmbient);
     55        const std::string& getAmbientPath(const std::string& source);
    5556
    5657    private:
     
    5859        ALCcontext* context_;
    5960        std::list<BaseSound*> ambientSounds_;
     61        std::string lastReqPath;
    6062
    6163        static SoundManager* singletonPtr_s;
Note: See TracChangeset for help on using the changeset viewer.