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

Function bloom_commit_music

native/web/src/lib.rs:1924–1929  ·  view source on GitHub ↗
(staging_handle: f64)

Source from the content-addressed store, hash-verified

1922
1923#[wasm_bindgen]
1924pub fn bloom_commit_music(staging_handle: f64) -> f64 {
1925 match bloom_shared::staging::take_sound(staging_handle) {
1926 Some(sd) => engine().audio.load_music(sd),
1927 None => 0.0,
1928 }
1929}
1930
1931// ============================================================
1932// Platform detection

Callers

nothing calls this directly

Calls 3

take_soundFunction · 0.85
load_musicMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected