@@ -13,7 +13,7 @@ THREE.Audio = function ( listener ) {
this.source.onended = this.onEnded.bind( this );
this.gain = this.context.createGain();
- this.gain.connect( listener.getOutputNode() );
+ this.gain.connect( listener.getInput() );
this.autoplay = false;
@@ -19,7 +19,7 @@ THREE.AudioListener = function () {
THREE.AudioListener.prototype = Object.create( THREE.Object3D.prototype );
THREE.AudioListener.prototype.constructor = THREE.AudioListener;
-THREE.AudioListener.prototype.getOutputNode = function () {
+THREE.AudioListener.prototype.getInput = function () {
return this.gain;