Changeset 2101 for code/branches/objecthierarchy/src/audio/AudioBuffer.cc
- Timestamp:
- Nov 2, 2008, 12:09:55 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/audio/AudioBuffer.cc
r1784 r2101 31 31 namespace audio 32 32 { 33 AudioBuffer::AudioBuffer(std::string file Name)33 AudioBuffer::AudioBuffer(std::string filename) 34 34 { 35 35 // Load wav data into buffers. … … 40 40 41 41 //FIXME deprecated; seems unneeded 42 // alutLoadWAVFile((ALbyte*)file Name.c_str(), &format, &data, &size, &freq, &loop);42 // alutLoadWAVFile((ALbyte*)filename.c_str(), &format, &data, &size, &freq, &loop); 43 43 alBufferData(buffer, format, data, size, freq); 44 44 //FIXME deprecated; seems unneeded
Note: See TracChangeset
for help on using the changeset viewer.