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