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

Function bloom_commit_music

native/windows/src/lib.rs:1757–1762  ·  view source on GitHub ↗
(staging_handle: f64)

Source from the content-addressed store, hash-verified

1755
1756#[no_mangle]
1757pub extern "C" fn bloom_commit_music(staging_handle: f64) -> f64 {
1758 match bloom_shared::staging::take_sound(staging_handle) {
1759 Some(sd) => engine().audio.load_music(sd),
1760 None => 0.0,
1761 }
1762}
1763
1764fn pollster_block_on<F: std::future::Future>(future: F) -> F::Output {
1765 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