changeset 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 ea04dfe54aae
files engine/core/audio/soundemitter.h engine/core/audio/soundemitter.i
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- 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);