- Timestamp:
- Dec 22, 2009, 8:44:07 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/orxonox/sound/BaseSound.cc
r6388 r6397 181 181 if (alIsSource(this->audioSource_)) 182 182 { 183 alSourcef(this->audioSource_, AL_PITCH, pitch); 183 184 if (int error = alGetError()) 184 185 COUT(2) << "Sound: Error setting pitch: " << SoundManager::getALErrorString(error) << std::endl; 185 alSourcef(this->audioSource_, AL_PITCH, pitch);186 186 } 187 187 }
Note: See TracChangeset
for help on using the changeset viewer.