INNER CODE UNIT · TypeScript
playMusicRaw
Bloom-Engine/engine · src/audio/index.ts:79
export function playMusicRaw(handle: number): void {
bloom_play_music(handle);
}
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);
}