Fix music not fading
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user