(path: string)
| 131 | } |
| 132 | |
| 133 | export async function loadMusicAsync(path: string): Promise<Music> { |
| 134 | const stagingHandle = await spawn(() => bloom_stage_sound(path as any)); |
| 135 | const handle = bloom_commit_music(stagingHandle); |
| 136 | return { handle }; |
| 137 | } |
| 138 | |
| 139 | export function stageSounds(paths: string[]): number[] { |
| 140 | return parallelMap(paths, (path: string) => bloom_stage_sound(path as any)); |
nothing calls this directly
no test coverage detected