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

Function bloom_commit_music

native/android/src/lib.rs:1644–1649  ·  view source on GitHub ↗
(staging_handle: f64)

Source from the content-addressed store, hash-verified

1642
1643#[no_mangle]
1644pub extern "C" fn bloom_commit_music(staging_handle: f64) -> f64 {
1645 match bloom_shared::staging::take_sound(staging_handle) {
1646 Some(sd) => engine().audio.load_music(sd),
1647 None => 0.0,
1648 }
1649}
1650
1651#[no_mangle]
1652pub extern "C" fn bloom_run_game(_callback: extern "C" fn(f64)) {

Callers

nothing calls this directly

Calls 3

take_soundFunction · 0.85
load_musicMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected