Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Oct 4, 2005, 9:20:04 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: almost mac compatibility

Location:
trunk/src/lib/sound
Files:
2 edited

Legend:

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

    r4985 r5279  
    1313#include "base_object.h"
    1414
    15 #include <AL/al.h>
     15#include "alincl.h"
    1616#include <ogg/ogg.h>
    1717#include <vorbis/vorbisfile.h>
  • trunk/src/lib/sound/sound_engine.cc

    r5226 r5279  
    6060  /* according to http://www.edenwaith.com/products/pige/tutorials/openal.php the alutLoadWAVFile differs from platform to platform*/
    6161#ifdef __APPLE__
    62   alutLoadWAVFile(fileName, &format, &data, &this->size, &freq);
    63 #elifdef __WIN32__
     62  alutLoadWAVFile((ALbyte*)fileName, &format, &data, &this->size, &freq);
     63#elif defined __WIN32__
    6464  alutLoadWAVFile(fileName, &format, &data, &size, &freq, &this->loop);
    6565#else
Note: See TracChangeset for help on using the changeset viewer.