Changeset 6562 for code/branches/sound5/src/orxonox/sound/SoundManager.cc
- Timestamp:
- Mar 18, 2010, 3:48:49 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/sound5/src/orxonox/sound/SoundManager.cc
r6510 r6562 116 116 117 117 // Create sound context and make it the currently used one 118 this->context_ = alcCreateContext(this->device_, NULL); 118 const ALint contattr[] = {ALC_SYNC, 1, 0}; 119 this->context_ = alcCreateContext(this->device_, contattr); 119 120 if (this->context_ == NULL) 120 121 ThrowException(InitialisationFailed, "Sound: Error: Could not create ALC context");
Note: See TracChangeset
for help on using the changeset viewer.