Fix music not fading

This commit is contained in:
2021-11-05 18:52:56 +01:00
parent db78cae144
commit 0f8f5522fa

View File

@@ -55,7 +55,8 @@ export class StreamingSource {
this.gain.connect(this.sceneNode); this.gain.connect(this.sceneNode);
break; break;
default: default:
this.graph.connectToMaster(this.node); this.node.connect(this.gain);
this.graph.connectToMaster(this.gain);
break; break;
} }
} }