Changeset 702 for code/branches/FICN/src/audio
- Timestamp:
- Dec 27, 2007, 6:00:34 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/audio/AudioBuffer.cc
r660 r702 38 38 loaded=AL_FALSE; 39 39 40 //FIXME deprecated 41 alutLoadWAVFile((ALbyte*)fileName.c_str(), &format, &data, &size, &freq, &loop);40 //FIXME deprecated; seems unneeded 41 // alutLoadWAVFile((ALbyte*)fileName.c_str(), &format, &data, &size, &freq, &loop); 42 42 alBufferData(buffer, format, data, size, freq); 43 //FIXME deprecated 44 alutUnloadWAV(format, data, size, freq);43 //FIXME deprecated; seems unneeded 44 // alutUnloadWAV(format, data, size, freq); 45 45 46 46 // Do another error check and return. 47 47 if(alGetError() != AL_NO_ERROR) 48 48 loaded=AL_FALSE; 49 50 loaded=AL_TRUE;49 else 50 loaded=AL_TRUE; 51 51 } 52 52
Note: See TracChangeset
for help on using the changeset viewer.