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

Function bloom_commit_music

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

Source from the content-addressed store, hash-verified

3043
3044#[no_mangle]
3045pub extern "C" fn bloom_commit_music(staging_handle: f64) -> f64 {
3046 match bloom_shared::staging::take_sound(staging_handle) {
3047 Some(sd) => engine().audio.load_music(sd),
3048 None => 0.0,
3049 }
3050}
3051
3052// ============================================================
3053// Simple blocking executor for wgpu async calls

Callers

nothing calls this directly

Calls 3

take_soundFunction · 0.85
load_musicMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected