MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / bloom_commit_music

Function bloom_commit_music

native/ios/src/lib.rs:2191–2196  ·  view source on GitHub ↗
(staging_handle: f64)

Source from the content-addressed store, hash-verified

2189
2190#[no_mangle]
2191pub extern "C" fn bloom_commit_music(staging_handle: f64) -> f64 {
2192 match bloom_shared::staging::take_sound(staging_handle) {
2193 Some(sd) => engine().audio.load_music(sd),
2194 None => 0.0,
2195 }
2196}
2197
2198#[no_mangle]
2199pub extern "C" fn bloom_run_game(_callback: extern "C" fn(f64)) {

Callers 2

loadMusicAsyncFunction · 0.50
commitMusicFunction · 0.50

Calls 3

take_soundFunction · 0.85
load_musicMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected