Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7331 in orxonox.OLD for trunk/src/lib/sound


Ignore:
Timestamp:
Apr 18, 2006, 4:48:37 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: small improved functoid

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/sound/ogg_player.h

    r7329 r7331  
    8989  SDL_Thread*         musicThreadID;        //!< The Thread in which music is Played back.
    9090  SDL_mutex*          musicMutex;           //!< A Mutex so that the two threads do not interfere.
    91 
    92   class MutexLock
    93   {
    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   };
    10091};
    10192
Note: See TracChangeset for help on using the changeset viewer.