This commit is contained in:
Jade (Rose) Rowland
2025-09-07 15:02:13 -04:00
parent 2fbdc9fdd7
commit 2511dcc09e
+1 -1
View File
@@ -413,7 +413,7 @@ function connectToOrbit(node, orbit) {
function setOrbit(audioContext, orbit, channels) {
if (orbits[orbit] == null) {
orbits[orbit] = {
gain: new GainNode(audioContext, { gain: 1 }),
gain: new GainNode(audioContext, { gain: 1, channelCount: 2, channelCountMode: 'explicit' }),
};
connectToDestination(orbits[orbit].gain, channels);
}