fix: add empty.mp3 audio placeholder
This commit is contained in:
parent
35be3f8853
commit
576d3d1dcb
3 changed files with 5 additions and 1 deletions
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
public/empty.mp3 filter=lfs diff=lfs merge=lfs -text
|
||||
3
public/empty.mp3
Normal file
3
public/empty.mp3
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:98875890b2f83542ccc5a791c22669b7372ea3bde7349d284feb3d937dce3d95
|
||||
size 4412
|
||||
|
|
@ -32,7 +32,7 @@ export default defineComponent({
|
|||
// Use the global audio loading queue to throttle concurrent loads
|
||||
const preloadAudio = (src: string) => {
|
||||
console.debug(`[AUDIOAREA] Queueing audio for preload: ${src}`);
|
||||
audioSrc.value = "";
|
||||
audioSrc.value = "empty.mp3";
|
||||
|
||||
queueAudioForLoading(
|
||||
src,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue