We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1d67cc commit 742c7c0Copy full SHA for 742c7c0
2 files changed
src/audio/Audio.js
@@ -13,7 +13,7 @@ THREE.Audio = function ( listener ) {
13
this.source.onended = this.onEnded.bind( this );
14
15
this.gain = this.context.createGain();
16
- this.gain.connect( listener.getOutputNode() );
+ this.gain.connect( listener.getInput() );
17
18
this.autoplay = false;
19
src/audio/AudioListener.js
@@ -19,7 +19,7 @@ THREE.AudioListener = function () {
THREE.AudioListener.prototype = Object.create( THREE.Object3D.prototype );
20
THREE.AudioListener.prototype.constructor = THREE.AudioListener;
21
22
-THREE.AudioListener.prototype.getOutputNode = function () {
+THREE.AudioListener.prototype.getInput = function () {
23
24
return this.gain;
25
0 commit comments