Changeset 2103 for code/trunk/src/audio
- Timestamp:
- Nov 2, 2008, 12:22:42 AM (16 years ago)
- Location:
- code/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/trunk/src/audio/AudioBuffer.cc
r1784 r2103 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/trunk/src/audio/AudioBuffer.h
r1784 r2103 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.