- Timestamp:
- Dec 14, 2009, 12:51:34 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/orxonox/sound/SoundManager.h
r6332 r6349 40 40 #include "util/Singleton.h" 41 41 #include "core/OrxonoxClass.h" 42 #include "core/SmartPtr.h" 42 43 43 44 // forward declaration … … 109 110 private: 110 111 void processCrossFading(float dt); 111 void fadeIn( AmbientSound*sound);112 void fadeOut( AmbientSound*sound);112 void fadeIn(const SmartPtr<AmbientSound>& sound); 113 void fadeOut(const SmartPtr<AmbientSound>& sound); 113 114 114 115 void checkFadeStepValidity(); … … 133 134 134 135 float crossFadeStep_; //!< Absolute change per second (0.1 means 10% of the nominal volume) for cross fading 135 std::list< AmbientSound*> fadeInList_;136 std::list< AmbientSound*> fadeOutList_;136 std::list<SmartPtr<AmbientSound> > fadeInList_; 137 std::list<SmartPtr<AmbientSound> > fadeOutList_; 137 138 138 139 float soundVolume_;
Note: See TracChangeset
for help on using the changeset viewer.