Changeset 7331 in orxonox.OLD for trunk/src/lib/sound
- Timestamp:
- Apr 18, 2006, 4:48:37 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/sound/ogg_player.h
r7329 r7331 89 89 SDL_Thread* musicThreadID; //!< The Thread in which music is Played back. 90 90 SDL_mutex* musicMutex; //!< A Mutex so that the two threads do not interfere. 91 92 class MutexLock93 {94 public:95 MutexLock(SDL_mutex* mutex) { SDL_mutexP(mutex); this->mutex = mutex; };96 ~MutexLock() { SDL_mutexV(mutex); };97 private:98 SDL_mutex* mutex;99 };100 91 }; 101 92
Note: See TracChangeset
for help on using the changeset viewer.