Changeset 6435 for code/branches/sound4/src/orxonox/sound/SoundStreamer.cc
- Timestamp:
- Jan 1, 2010, 6:43:54 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/sound4/src/orxonox/sound/SoundStreamer.cc
r6417 r6435 91 91 alGetSourcei(audioSource, AL_BUFFERS_PROCESSED, &processed); 92 92 if (ALint error = alGetError()) 93 COUT(2) << "Sound Warning: Couldn't get number of processed buffers: " 94 << SoundManager::getALErrorString(error) << std::endl; 93 COUT(2) << "Sound Warning: Couldn't get number of processed buffers: " << getALErrorString(error) << std::endl; 95 94 96 95 if(processed > 0) … … 99 98 alSourceUnqueueBuffers(audioSource, processed, buffers); 100 99 if (ALint error = alGetError()) 101 COUT(2) << "Sound Warning: Couldn't unqueue buffers: " 102 << SoundManager::getALErrorString(error) << std::endl; 100 COUT(2) << "Sound Warning: Couldn't unqueue buffers: " << getALErrorString(error) << std::endl; 103 101 104 102 for(int i = 0; i < processed; i++) … … 121 119 alSourceQueueBuffers(audioSource, processed, buffers); 122 120 if (ALint error = alGetError()) 123 COUT(2) << "Sound Warning: Couldn't queue buffers: " 124 << SoundManager::getALErrorString(error) << std::endl; 121 COUT(2) << "Sound Warning: Couldn't queue buffers: " << getALErrorString(error) << std::endl; 125 122 } 126 123 }
Note: See TracChangeset
for help on using the changeset viewer.