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

Function bloom_commit_music

native/linux/src/lib.rs:2446–2451  ·  view source on GitHub ↗
(staging_handle: f64)

Source from the content-addressed store, hash-verified

2444
2445#[no_mangle]
2446pub extern "C" fn bloom_commit_music(staging_handle: f64) -> f64 {
2447 match bloom_shared::staging::take_sound(staging_handle) {
2448 Some(sd) => engine().audio.load_music(sd),
2449 None => 0.0,
2450 }
2451}
2452
2453fn pollster_block_on<F: std::future::Future>(future: F) -> F::Output {
2454 use std::task::{Context, Poll, Wake, Waker};

Callers

nothing calls this directly

Calls 3

take_soundFunction · 0.85
load_musicMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected