Reduce crossfade time
This commit is contained in:
parent
0389aced17
commit
cc7a736ae9
|
@ -38,7 +38,7 @@ export function playSong(name: string) {
|
||||||
} else {
|
} else {
|
||||||
clearInterval(cl)
|
clearInterval(cl)
|
||||||
}
|
}
|
||||||
}, 100)
|
}, 50)
|
||||||
})(playingSongAudio)
|
})(playingSongAudio)
|
||||||
}
|
}
|
||||||
playingSongAudio = new Audio()
|
playingSongAudio = new Audio()
|
||||||
|
@ -59,7 +59,7 @@ export function playSong(name: string) {
|
||||||
} else {
|
} else {
|
||||||
clearInterval(cl)
|
clearInterval(cl)
|
||||||
}
|
}
|
||||||
}, 100)
|
}, 50)
|
||||||
})(playingSongAudio)
|
})(playingSongAudio)
|
||||||
|
|
||||||
playingSongAudio.src = audio[name]
|
playingSongAudio.src = audio[name]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user