Changeset 4601 in orxonox.OLD for orxonox/trunk/src/lib/sound
- Timestamp:
- Jun 11, 2005, 11:58:53 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/sound/sound_engine.cc
r4597 r4601 57 57 58 58 // read in the wav data 59 /* according to http://www.edenwaith.com/products/pige/tutorials/openal.php the alutLoadWAVFile differs from platform to platform*/ 60 #ifdef __UNIX__ 59 61 alutLoadWAVFile((ALbyte*)fileName, &format, &data, &this->size, &freq, &this->loop); 62 #elifdef __APPLE__ 63 alutLoadWAVFile(fileName, &format, &data, &size, &freq); 64 #elifdef __WIN32__ 65 alutLoadWAVFile(fileName, &format, &data, &size, &freq, &this->loop); 66 #endif 60 67 if ((result = alGetError()) != AL_NO_ERROR) 61 68 SoundEngine::PrintALErrorString(result);
Note: See TracChangeset
for help on using the changeset viewer.