[Audio] Fix of an fix that was supposed to fix a fix

This commit is contained in:
maikirakiwi 2022-04-08 15:46:58 -07:00
parent 9ad13bcc8d
commit 8a766e51a8
2 changed files with 4 additions and 4 deletions

View file

@ -185,8 +185,8 @@ const CiderAudio = {
}
if (maxGain == -120) {maxGain = 1}
if (CiderAudio.audioNodes.llpw !== null && CiderAudio.audioNodes.llpw.length == 1) {maxGain = maxGain * 1.109174815262401}
if (CiderAudio.audioNodes.atmosphereRealizer !== null) {maxGain = maxGain * 1.17489755493953}
if (app.cfg.audio.maikiwiAudio.spatial === true) {
if (app.cfg.audio.maikiwiAudio.atmosphereRealizer == true) {maxGain = maxGain * 1.096478196143185}
if (app.cfg.audio.maikiwiAudio.spatial == true) {
let spatialProfile = CiderAudio.spatialProfiles.find(function (profile) {
return profile.id === app.cfg.audio.maikiwiAudio.spatialProfile;
});