- Timestamp:
- Nov 23, 2009, 9:25:34 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/orxonox/sound/BaseSound.cc
r6117 r6127 218 218 ALuint BaseSound::loadOggFile() 219 219 { 220 char inbuffer[ 4096];220 char inbuffer[256*1024]; 221 221 std::vector<char> outbuffer; 222 outbuffer.reserve(80*1024*1024); 222 223 OggVorbis_File vf; 223 224 vorbis_info* vorbisInfo; … … 257 258 else 258 259 { 259 outbuffer.insert(outbuffer.end(), inbuffer, inbuffer + sizeof(inbuffer));260 outbuffer.insert(outbuffer.end(), inbuffer, inbuffer + ret); 260 261 } 261 262 }
Note: See TracChangeset
for help on using the changeset viewer.