Skip to content

Commit 742c7c0

Browse files
committed
AudioListener: Renamed getOutputNode to getInput.
1 parent c1d67cc commit 742c7c0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/audio/Audio.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ THREE.Audio = function ( listener ) {
1313
this.source.onended = this.onEnded.bind( this );
1414

1515
this.gain = this.context.createGain();
16-
this.gain.connect( listener.getOutputNode() );
16+
this.gain.connect( listener.getInput() );
1717

1818
this.autoplay = false;
1919

src/audio/AudioListener.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ THREE.AudioListener = function () {
1919
THREE.AudioListener.prototype = Object.create( THREE.Object3D.prototype );
2020
THREE.AudioListener.prototype.constructor = THREE.AudioListener;
2121

22-
THREE.AudioListener.prototype.getOutputNode = function () {
22+
THREE.AudioListener.prototype.getInput = function () {
2323

2424
return this.gain;
2525

0 commit comments

Comments
 (0)