Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 11, 2010, 3:16:12 PM (14 years ago)
Author:
scheusso
Message:

merged sound4 into sound5

Location:
code/branches/sound5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/sound5

  • code/branches/sound5/src/orxonox/sound/AmbientSound.h

    r6417 r6506  
    3131#define _AmbientSound_H__
    3232
    33 #include "OrxonoxPrereqs.h"
     33#include <boost/thread.hpp>
     34
     35#include "sound/SoundPrereqs.h"
    3436
    3537#include "core/BaseObject.h"
     
    7173        ~AmbientSound() { }
    7274
     75        void doPlay();
     76        void doStop();
     77
    7378    private:
    7479        void preDestroy();
     
    8388        std::string ambientSource_; //!< Analogous to source_, but mood independent
    8489        bool        bPlayOnLoad_;   //!< Play the sound immediately when loaded
     90
     91        boost::thread soundstreamthread_; // hacky solution for streaming
     92        void setStreamSource(const std::string& source);
    8593    };
    8694}
Note: See TracChangeset for help on using the changeset viewer.