life is difficult
This commit is contained in:
parent
598d7e4b9c
commit
e73147c1e3
1 changed files with 3 additions and 0 deletions
|
@ -178,6 +178,8 @@
|
||||||
},
|
},
|
||||||
toggleMaikiwiSpatial: function () {
|
toggleMaikiwiSpatial: function () {
|
||||||
if (app.cfg.audio.maikiwiAudio.spatial === true) {
|
if (app.cfg.audio.maikiwiAudio.spatial === true) {
|
||||||
|
CiderAudio.spatialOn()
|
||||||
|
CiderAudio.hierarchical_loading();
|
||||||
let normalized = Math.pow(10, (((Math.log10(app.mk.volume) * 20) + 12) / 20));
|
let normalized = Math.pow(10, (((Math.log10(app.mk.volume) * 20) + 12) / 20));
|
||||||
if (normalized > 1.0) {app.mk.volume = 1}
|
if (normalized > 1.0) {app.mk.volume = 1}
|
||||||
else {app.mk.volume = normalized}
|
else {app.mk.volume = normalized}
|
||||||
|
@ -185,6 +187,7 @@
|
||||||
else {
|
else {
|
||||||
let normalized = Math.pow(10, (((Math.log10(app.mk.volume) * 20) - 12) / 20));
|
let normalized = Math.pow(10, (((Math.log10(app.mk.volume) * 20) - 12) / 20));
|
||||||
app.mk.volume = normalized
|
app.mk.volume = normalized
|
||||||
|
CiderAudio.hierarchical_loading();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
ciderPPEStandard: function () {
|
ciderPPEStandard: function () {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue