Fix #1237
This commit is contained in:
parent
367f6c7c4e
commit
ba30e1f636
1 changed files with 3 additions and 9 deletions
|
@ -1453,20 +1453,14 @@
|
||||||
if (navigator.hardwareConcurrency < 6) {
|
if (navigator.hardwareConcurrency < 6) {
|
||||||
app.confirm(app.getLz("settings.warn.audio.enableAdvancedFunctionality.lowcores"), function (result) {
|
app.confirm(app.getLz("settings.warn.audio.enableAdvancedFunctionality.lowcores"), function (result) {
|
||||||
if (result) {
|
if (result) {
|
||||||
CiderAudio.init();
|
window.location.reload();
|
||||||
if (app.cfg.audio.normalization === true) {
|
|
||||||
CiderAudio.normalizerOn()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
CiderAudio.init();
|
window.location.reload()
|
||||||
if (app.cfg.audio.normalization === true) {
|
|
||||||
CiderAudio.normalizerOn()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
CiderAudio.off();
|
window.location.reload()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
toggleNormalization: function () {
|
toggleNormalization: function () {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue