Switch hierarchical-loading back to async function (#1133)
By having this function as synchronous, it will error out whenever someone with AudioContext disabled tries to play a track. Checked back to the previous code before the Phase 1 update, and this function was asynchronous
This commit is contained in:
parent
58d5e02d40
commit
4034453c03
1 changed files with 1 additions and 1 deletions
|
@ -906,7 +906,7 @@ const CiderAudio = {
|
||||||
try { for (var i of CiderAudio.audioNodes.audioBands) { i.disconnect(); } CiderAudio.audioNodes.vibrantbassNode = null} catch (e) { };
|
try { for (var i of CiderAudio.audioNodes.audioBands) { i.disconnect(); } CiderAudio.audioNodes.vibrantbassNode = null} catch (e) { };
|
||||||
console.debug("[Cider][Audio] Finished hierarchical unloading")
|
console.debug("[Cider][Audio] Finished hierarchical unloading")
|
||||||
},
|
},
|
||||||
hierarchical_loading: function () {
|
hierarchical_loading: async function () {
|
||||||
const configMap = new Map([
|
const configMap = new Map([
|
||||||
['spatial', app.cfg.audio.maikiwiAudio.spatial === true],
|
['spatial', app.cfg.audio.maikiwiAudio.spatial === true],
|
||||||
['n5', app.cfg.audio.maikiwiAudio.atmosphereRealizer2 === true],
|
['n5', app.cfg.audio.maikiwiAudio.atmosphereRealizer2 === true],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue