Changeset 9869 in orxonox.OLD for trunk/src/lib/sound/ogg_player.cc
- Timestamp:
- Oct 3, 2006, 12:19:30 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/sound/ogg_player.cc
r9406 r9869 34 34 35 35 #include "helper_functions.h" 36 37 #ifdef HAVE_SDL_SDL_H 38 39 #include <SDL/SDL.h> 40 #include <SDL/SDL_endian.h> 41 42 #else 43 44 #include <SDL.h> 45 #include <SDL_endian.h> 46 47 #endif 36 #include "sdlincl.h" 48 37 49 38 namespace OrxSound 50 39 { 40 ObjectListDefinition(OggPlayer); 51 41 /** 52 42 * initializes an Ogg-player from a file … … 55 45 OggPlayer::OggPlayer(const std::string& fileName) 56 46 { 57 this-> setClassID(CL_SOUND_OGG_PLAYER, "OggPlayer");47 this->registerObject(this, OggPlayer::_objectList); 58 48 59 49 this->state = OggPlayer::None; … … 276 266 ogg->update(); 277 267 } 278 SDL_Delay(1 0);268 SDL_Delay(1); 279 269 } 280 270 PRINTF(4)("End the AudioThread\n");
Note: See TracChangeset
for help on using the changeset viewer.