- Timestamp:
- Dec 21, 2009, 1:28:10 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/orxonox/sound/BaseSound.cc
r6387 r6388 177 177 pitch = pitch > 2 ? 2 : pitch; 178 178 pitch = pitch < 0.5 ? 0.5 : pitch; 179 } 179 } 180 180 this->pitch_ = pitch; 181 181 if (alIsSource(this->audioSource_)) … … 224 224 if (alIsSource(this->audioSource_)) // already playing or paused 225 225 { 226 // Set new buffer 226 // Set new buffer 227 227 alSourcei(this->audioSource_, AL_BUFFER, this->soundBuffer_->getBuffer()); 228 228 if (ALuint error = alGetError())
Note: See TracChangeset
for help on using the changeset viewer.