fix: add empty.mp3 audio placeholder

This commit is contained in:
Tomáš Mládek 2025-07-29 08:57:31 +02:00
parent 35be3f8853
commit 576d3d1dcb
3 changed files with 5 additions and 1 deletions

1
.gitattributes vendored Normal file
View file

@ -0,0 +1 @@
public/empty.mp3 filter=lfs diff=lfs merge=lfs -text

3
public/empty.mp3 Normal file
View file

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:98875890b2f83542ccc5a791c22669b7372ea3bde7349d284feb3d937dce3d95
size 4412

View file

@ -32,7 +32,7 @@ export default defineComponent({
// Use the global audio loading queue to throttle concurrent loads // Use the global audio loading queue to throttle concurrent loads
const preloadAudio = (src: string) => { const preloadAudio = (src: string) => {
console.debug(`[AUDIOAREA] Queueing audio for preload: ${src}`); console.debug(`[AUDIOAREA] Queueing audio for preload: ${src}`);
audioSrc.value = ""; audioSrc.value = "empty.mp3";
queueAudioForLoading( queueAudioForLoading(
src, src,