Handle addGainElement failure

Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
gnattu
2024-10-01 18:25:09 +08:00
committed by GitHub
parent 75d21a8140
commit 24c30dc96d
+1
View File
@@ -128,6 +128,7 @@ class HtmlAudioPlayer {
if (!self.gainNode) {
addGainElement(elem);
if (!self.gainNode) return;
}
if (normalizationGain) {