Mercurial > fife-parpg
comparison engine/core/audio/soundemitter.h @ 174:362fe23920b9
* Fixed a small typo: soundemitter:setRoleoff -> soundemitter:setRolloff
author | nihathrael@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sun, 25 Jan 2009 12:49:27 +0000 |
parents | 454ed60ad7b2 |
children | 11896fe26c1d |
comparison
equal
deleted
inserted
replaced
173:454ed60ad7b2 | 174:362fe23920b9 |
---|---|
66 alSourcei(m_source, AL_SOURCE_RELATIVE, relative ? AL_TRUE : AL_FALSE); | 66 alSourcei(m_source, AL_SOURCE_RELATIVE, relative ? AL_TRUE : AL_FALSE); |
67 } | 67 } |
68 | 68 |
69 /** Sets the AL_ROLEOFF_FACTOR. Rolloff factor judges the strength of attenuation over distance. | 69 /** Sets the AL_ROLEOFF_FACTOR. Rolloff factor judges the strength of attenuation over distance. |
70 * | 70 * |
71 * @param roleoff Roleoff factor. You'll need to do a lot of testing to find a value which suits your needs. | 71 * @param rolloff Rolloff factor. You'll need to do a lot of testing to find a value which suits your needs. |
72 */ | 72 */ |
73 void setRoleoff(float roleoff) { | 73 void setRolloff(float rolloff) { |
74 alSourcef (m_source, AL_ROLLOFF_FACTOR, roleoff); | 74 alSourcef (m_source, AL_ROLLOFF_FACTOR, rolloff); |
75 } | 75 } |
76 | 76 |
77 /** Sets the sound clip to be used by this emitter. | 77 /** Sets the sound clip to be used by this emitter. |
78 * @param sound_id SoundClipPool id of the sound to be used. | 78 * @param sound_id SoundClipPool id of the sound to be used. |
79 */ | 79 */ |