Changeset 4605 in orxonox.OLD for orxonox/trunk/src
- Timestamp:
- Jun 12, 2005, 1:03:30 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/sound/sound_engine.cc
r4601 r4605 58 58 // read in the wav data 59 59 /* 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); 64 62 #elifdef __WIN32__ 65 63 alutLoadWAVFile(fileName, &format, &data, &size, &freq, &this->loop); 64 #else 65 alutLoadWAVFile((ALbyte*)fileName, &format, &data, &this->size, &freq, &this->loop); 66 66 #endif 67 67 if ((result = alGetError()) != AL_NO_ERROR)
Note: See TracChangeset
for help on using the changeset viewer.