# HG changeset patch # User nihathrael@33b003aa-7bff-0310-803a-e67f0ece8222 # Date 1232887767 0 # Node ID 362fe23920b9bec948add6a8223b87f4f3d1c6e4 # Parent 454ed60ad7b2a84a3abdde126085b343854d450d * Fixed a small typo: soundemitter:setRoleoff -> soundemitter:setRolloff diff -r 454ed60ad7b2 -r 362fe23920b9 engine/core/audio/soundemitter.h --- a/engine/core/audio/soundemitter.h Sat Jan 24 22:26:46 2009 +0000 +++ b/engine/core/audio/soundemitter.h Sun Jan 25 12:49:27 2009 +0000 @@ -68,10 +68,10 @@ /** Sets the AL_ROLEOFF_FACTOR. Rolloff factor judges the strength of attenuation over distance. * - * @param roleoff Roleoff factor. You'll need to do a lot of testing to find a value which suits your needs. + * @param rolloff Rolloff factor. You'll need to do a lot of testing to find a value which suits your needs. */ - void setRoleoff(float roleoff) { - alSourcef (m_source, AL_ROLLOFF_FACTOR, roleoff); + void setRolloff(float rolloff) { + alSourcef (m_source, AL_ROLLOFF_FACTOR, rolloff); } /** Sets the sound clip to be used by this emitter. diff -r 454ed60ad7b2 -r 362fe23920b9 engine/core/audio/soundemitter.i --- a/engine/core/audio/soundemitter.i Sat Jan 24 22:26:46 2009 +0000 +++ b/engine/core/audio/soundemitter.i Sun Jan 25 12:49:27 2009 +0000 @@ -53,7 +53,7 @@ void stop(); void setLooping(bool loop); - void setRoleoff(float roleoff); + void setRolloff(float rolloff); void setPositioning(bool relative); void setPosition(float x, float y, float z); void setVelocity(float x, float y, float z);