duu
This commit is contained in:
parent
88f618cadf
commit
8f9f5b5100
108 changed files with 2139 additions and 1500 deletions
|
|
@ -93,9 +93,6 @@ const audio = {
|
|||
const a = new Audio(path);
|
||||
a.preload = "auto";
|
||||
a.volume = this.sampleVolumeFor(key);
|
||||
a.addEventListener("error", () => {
|
||||
window.TarinaiEvents.emit("audio:sample-error", { id: key, path });
|
||||
}, { once: true });
|
||||
this.samples[key] = a;
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue