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

Function bloom_commit_sound

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

Source from the content-addressed store, hash-verified

1914
1915#[wasm_bindgen]
1916pub fn bloom_commit_sound(staging_handle: f64) -> f64 {
1917 match bloom_shared::staging::take_sound(staging_handle) {
1918 Some(sd) => engine().audio.load_sound(sd),
1919 None => 0.0,
1920 }
1921}
1922
1923#[wasm_bindgen]
1924pub fn bloom_commit_music(staging_handle: f64) -> f64 {

Callers

nothing calls this directly

Calls 3

take_soundFunction · 0.85
load_soundMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected