From 0f8f5522fa49d73a56c0ef6ae365997d26215ce7 Mon Sep 17 00:00:00 2001 From: Talon Date: Fri, 5 Nov 2021 18:52:56 +0100 Subject: [PATCH] Fix music not fading --- src/framework/resonator/sources/streaming-source.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/framework/resonator/sources/streaming-source.js b/src/framework/resonator/sources/streaming-source.js index d549fe9..5f26d46 100644 --- a/src/framework/resonator/sources/streaming-source.js +++ b/src/framework/resonator/sources/streaming-source.js @@ -55,7 +55,8 @@ export class StreamingSource { this.gain.connect(this.sceneNode); break; default: - this.graph.connectToMaster(this.node); + this.node.connect(this.gain); + this.graph.connectToMaster(this.gain); break; } }