Changeset 2101 for code/branches/objecthierarchy/src/audio
- Timestamp:
- Nov 2, 2008, 12:09:55 AM (16 years ago)
- Location:
- code/branches/objecthierarchy/src/audio
- Files:
-
- 2 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 -
code/branches/objecthierarchy/src/audio/AudioBuffer.h
r1784 r2101 40 40 { 41 41 public: 42 AudioBuffer(std::string file Name);42 AudioBuffer(std::string filename); 43 43 ~AudioBuffer(); 44 44
Note: See TracChangeset
for help on using the changeset viewer.