Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9869 in orxonox.OLD for trunk/src/lib/sound/ogg_player.cc


Ignore:
Timestamp:
Oct 3, 2006, 12:19:30 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: merged the new_class_id branche back to the trunk.
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/new_class_id trunk -r9683:HEAD
no conflicts… puh..

File:
1 edited

Legend:

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

    r9406 r9869  
    3434
    3535#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"
    4837
    4938namespace OrxSound
    5039{
     40  ObjectListDefinition(OggPlayer);
    5141  /**
    5242   * initializes an Ogg-player from a file
     
    5545  OggPlayer::OggPlayer(const std::string& fileName)
    5646  {
    57     this->setClassID(CL_SOUND_OGG_PLAYER, "OggPlayer");
     47    this->registerObject(this, OggPlayer::_objectList);
    5848
    5949    this->state = OggPlayer::None;
     
    276266        ogg->update();
    277267      }
    278       SDL_Delay(10);
     268      SDL_Delay(1);
    279269    }
    280270    PRINTF(4)("End the AudioThread\n");
Note: See TracChangeset for help on using the changeset viewer.