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

Function bloom_init_audio

native/windows/src/lib.rs:613–623  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

611
612#[no_mangle]
613pub extern "C" fn bloom_init_audio() {
614 #[cfg(windows)]
615 {
616 use std::sync::atomic::Ordering;
617 AUDIO_RUNNING.store(true, Ordering::SeqCst);
618
619 std::thread::spawn(|| {
620 unsafe { wasapi_audio_thread(); }
621 });
622 }
623}
624
625#[no_mangle]
626pub extern "C" fn bloom_close_audio() {

Callers

nothing calls this directly

Calls 1

wasapi_audio_threadFunction · 0.85

Tested by

no test coverage detected