Browse Source

Audio: Fixed typo.

Mr.doob 10 years ago
parent
commit
58ec0be810
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/extras/audio/Audio.js

+ 1 - 1
src/extras/audio/Audio.js

@@ -148,7 +148,7 @@ THREE.Audio.prototype.setPlaybackRate = function ( value ) {
 
 	this.playbackRate = value;
 
-	if (this.isPlaying) source.playbackRate.value = this.playbackRate;
+	if (this.isPlaying) this.source.playbackRate.value = this.playbackRate;
 
 };