summaryrefslogtreecommitdiff
path: root/app/ui/settings.php
diff options
context:
space:
mode:
authorRaindropsSys <raindrops@equestria.dev>2023-11-17 23:25:54 +0100
committerRaindropsSys <raindrops@equestria.dev>2023-11-17 23:25:54 +0100
commitc2a38a4847dfa9f561717cfc9858c275caa33876 (patch)
tree149bb7626f4495558c781fbcd621434e3cf7e6df /app/ui/settings.php
parentca4588f1b8200ef93e1614f2274a960bbb9fd53e (diff)
downloadmist-c2a38a4847dfa9f561717cfc9858c275caa33876.tar.gz
mist-c2a38a4847dfa9f561717cfc9858c275caa33876.tar.bz2
mist-c2a38a4847dfa9f561717cfc9858c275caa33876.zip
Updated 14 files and added 2 files (automated)
Diffstat (limited to 'app/ui/settings.php')
-rw-r--r--app/ui/settings.php17
1 files changed, 16 insertions, 1 deletions
diff --git a/app/ui/settings.php b/app/ui/settings.php
index fe421a0..26217f0 100644
--- a/app/ui/settings.php
+++ b/app/ui/settings.php
@@ -45,6 +45,21 @@
</script>
<div class="form-check form-switch" style="margin-top: 10px;">
+ <input onchange="saveOA();" class="form-check-input" type="checkbox" role="switch" id="noamp">
+ <label class="form-check-label" for="noamp">
+ Disable audio amplification
+ <div class="text-muted small">By default, Mist makes your music louder, so it doesn't otherwise seem too quiet. If you have issues with clipping, or this feature does not otherwise play nicely with your device, you might want to turn on this option.</div>
+ </label>
+ </div>
+ <script>
+ if (localStorage.getItem("noamp") === "true") document.getElementById("noamp").checked = true;
+ function saveOA() {
+ localStorage.setItem("noamp", document.getElementById("noamp").checked ? "true" : "false");
+ window.parent.location.reload();
+ }
+ </script>
+
+ <div class="form-check form-switch" style="margin-top: 10px;">
<input onchange="saveN();" class="form-check-input" type="checkbox" role="switch" id="normalize">
<label class="form-check-label" for="normalize">
Normalize loudness
@@ -63,7 +78,7 @@
<input onchange="saveST();" class="form-check-input" type="checkbox" role="switch" id="enable-stella">
<label class="form-check-label" for="enable-stella">
Mist Stella
- <div class="text-muted small">Enjoy your music is a unique way thanks to the Mist Stella spatial audio technology. Stella makes your music feel like it's coming from all around you, giving you a concert-like experience. Note that Stella uses slightly more bandwidth than lossless streaming.</div>
+ <div class="text-muted small">Enjoy your music is a unique way thanks to the Mist Stella spatial audio technology. Stella makes your music feel like it's coming from all around you, giving you a concert-like experience. Note that Stella uses slightly more bandwidth than lossless streaming. <a href="#" onclick="window.parent.location.hash = '#/stella';">See compatible songs.</a></div>
</label>
</div>
<script>