We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0ff40ec + 4535498 commit 3ca2ae0Copy full SHA for 3ca2ae0
src/audio/Audio.js
@@ -31,6 +31,7 @@ class Audio extends Object3D {
31
32
this._startedAt = 0;
33
this._progress = 0;
34
+ this._connected = false;
35
36
this.filters = [];
37
@@ -198,6 +199,8 @@ class Audio extends Object3D {
198
199
200
}
201
202
+ this._connected = true;
203
+
204
return this;
205
206
@@ -222,6 +225,8 @@ class Audio extends Object3D {
222
225
223
226
224
227
228
229
230
231
232
@@ -236,7 +241,7 @@ class Audio extends Object3D {
236
241
237
242
if ( ! value ) value = [];
238
243
239
- if ( this.isPlaying === true ) {
244
+ if ( this._connected === true ) {
240
245
246
this.disconnect();
247
this.filters = value;
0 commit comments