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

Function bloom_commit_sound

native/macos/src/lib.rs:3037–3042  ·  view source on GitHub ↗
(staging_handle: f64)

Source from the content-addressed store, hash-verified

3035
3036#[no_mangle]
3037pub extern "C" fn bloom_commit_sound(staging_handle: f64) -> f64 {
3038 match bloom_shared::staging::take_sound(staging_handle) {
3039 Some(sd) => engine().audio.load_sound(sd),
3040 None => 0.0,
3041 }
3042}
3043
3044#[no_mangle]
3045pub extern "C" 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