From: Benjamin Auder Date: Tue, 3 Mar 2020 23:05:53 +0000 (+0100) Subject: Compress newgame sound, faster loading X-Git-Url: https://git.auder.net/doc/html/index.html?a=commitdiff_plain;h=1fc6df1e59013ff7e0d484bc0e9bb462230fd221;p=vchess.git Compress newgame sound, faster loading --- diff --git a/client/public/sounds/newgame.flac b/client/public/sounds/newgame.flac new file mode 100644 index 00000000..b109d892 Binary files /dev/null and b/client/public/sounds/newgame.flac differ diff --git a/client/public/sounds/newgame.wav b/client/public/sounds/newgame.wav deleted file mode 100644 index f88939a0..00000000 --- a/client/public/sounds/newgame.wav +++ /dev/null @@ -1 +0,0 @@ -#$# git-fat 839f8d81e4e6bf135e3828be652483420d4118b8 917140 diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index a48997a9..61ced0ae 100644 --- a/client/src/views/Hall.vue +++ b/client/src/views/Hall.vue @@ -896,7 +896,7 @@ export default { // If an error occurred, game is not added: abort if (!err) { if (this.st.settings.sound) - new Audio("/sounds/newgame.wav").play().catch(() => {}); + new Audio("/sounds/newgame.flac").play().catch(() => {}); this.$router.push("/game/" + gameInfo.id); } });