chore: fix wrong comment

This commit is contained in:
2024-07-20 22:17:04 +01:00
parent 1e257eaf4e
commit fbc9a07c25

View File

@@ -34,7 +34,7 @@ function pauseAudio() {
}
function fadeIn() {
// volume ranges from 0 to 1, this determines by how much the volume number
// volume ranges from 0 to 100, this determines by how much the volume number
// should be incremented at every step of the fade in
const volumeStep = 100 / (CROSSFADE_DURATION_MS / CROSSFADE_INTERVAL_MS);
const handle = setInterval(() => {
@@ -48,7 +48,7 @@ function fadeIn() {
}
function fadeOut() {
// volume ranges from 0 to 1, this determines by how much the volume number
// volume ranges from 0 to 100, this determines by how much the volume number
// should be decremented at every step of the fade out
const volumeStep = 100 / (CROSSFADE_DURATION_MS / CROSSFADE_INTERVAL_MS);
const handle = setInterval(() => {