Changeset 7308 in orxonox.OLD for trunk/src/lib/sound/ogg_player.h
- Timestamp:
- Apr 16, 2006, 11:08:25 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/sound/ogg_player.h
r7307 r7308 20 20 21 21 22 #define OGG_PLAYER_BUFFER_SIZE (8096 * 4)22 #define OGG_PLAYER_BUFFER_SIZE (8096 * 2) 23 23 24 24 … … 66 66 67 67 private: 68 static int createAudioThread(void* oggPlayer);68 static int musicThread(void* oggPlayer); 69 69 bool playback(); 70 70 void suspend(); … … 87 87 unsigned int state; //!< The States the OggPlayer is in (this can be multiple entries from OggPlayer::State). 88 88 89 SDL_Thread* musicThread; //!< The Thread in which music is Played back. 89 SDL_Thread* musicThreadID; //!< The Thread in which music is Played back. 90 SDL_mutex* musicMutex; //!< A Mutex so that the two threads do not interfere. 90 91 }; 91 92
Note: See TracChangeset
for help on using the changeset viewer.