Skip to content

Commit aa73685

Browse files
committed
More accurate master
1 parent 6253996 commit aa73685

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chrome/player/ui/audio/AudioChannelMixer.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ export class AudioChannelMixer extends AbstractAudioModule {
491491

492492
const masterAnalyzer = this.audioContext.createAnalyser();
493493
masterAnalyzer.fftSize = 256;
494-
this.getOutputNode().connect(masterAnalyzer);
494+
this.configManager.getOutputNode().connect(masterAnalyzer);
495495
this.masterNodes.analyzer = masterAnalyzer;
496496
this.updateNodes();
497497
}
@@ -513,7 +513,7 @@ export class AudioChannelMixer extends AbstractAudioModule {
513513
nodes.analyzer = null;
514514
});
515515
if (!skipDisconnect) {
516-
this.getOutputNode().disconnect(this.masterNodes.analyzer);
516+
this.configManager.getOutputNode().disconnect(this.masterNodes.analyzer);
517517
this.masterNodes.analyzer.disconnect();
518518
}
519519
this.masterNodes.analyzer = null;

0 commit comments

Comments
 (0)