INNER CODE UNIT · TypeScript

stopMusic

Bloom-Engine/engine · src/audio/index.ts:83

export function stopMusic(music: Music): void {
  bloom_stop_music(music.handle);
}

/**
 * @internal Compiler workaround — not part of the public API.
 * Identical to the non-Raw version but takes primitives instead of
 * reading object fields (aarch64 Android Perry miscompilation where
 * obj.field reads feeding f64 FFI args arrive as NaN). Use the
 * non-Raw version; these disappear when the Perry fix ships.
 */
export function stopMusicRaw(handle: number): void {
  bloom_stop_music(handle);
}

export function updateMusicStream(music: Music): void {
  bloom_update_music_stream(music.handle);
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…