Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4605 in orxonox.OLD for orxonox


Ignore:
Timestamp:
Jun 12, 2005, 1:03:30 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: default value set

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/sound/sound_engine.cc

    r4601 r4605  
    5858  // read in the wav data
    5959  /* according to http://www.edenwaith.com/products/pige/tutorials/openal.php the alutLoadWAVFile differs from platform to platform*/
    60 #ifdef __UNIX__
    61   alutLoadWAVFile((ALbyte*)fileName, &format, &data, &this->size, &freq, &this->loop);
    62 #elifdef __APPLE__
    63   alutLoadWAVFile(fileName, &format, &data, &size, &freq);
     60#ifdef __APPLE__
     61  alutLoadWAVFile(fileName, &format, &data, &this->size, &freq);
    6462#elifdef __WIN32__
    6563  alutLoadWAVFile(fileName, &format, &data, &size, &freq, &this->loop);
     64#else
     65  alutLoadWAVFile((ALbyte*)fileName, &format, &data, &this->size, &freq, &this->loop);
    6666#endif
    6767  if ((result = alGetError()) != AL_NO_ERROR)
Note: See TracChangeset for help on using the changeset viewer.