Changeset 6769 for code/branches/sound5/src/orxonox/sound/SoundStreamer.cc
- Timestamp:
- Apr 22, 2010, 3:32:45 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/sound5/src/orxonox/sound/SoundStreamer.cc
r6733 r6769 104 104 } 105 105 106 alSourcei(audioSource, AL_LOOPING, AL_TRUE);106 //alSourcei(audioSource, AL_LOOPING, AL_TRUE); 107 107 108 108 alSourcePlay(audioSource); 109 109 if(ALint error = alGetError()) 110 COUT(2) << "Sound: Could not start ambient sound" << std::endl;110 COUT(2) << "Sound: Could not start ambient sound" << getALErrorString(error) << std::endl; 111 111 112 112 while(true) // Stream forever, control through thread control
Note: See TracChangeset
for help on using the changeset viewer.