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

Function bloom_init_audio

native/linux/src/lib.rs:842–851  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

840
841#[no_mangle]
842pub extern "C" fn bloom_init_audio() {
843 #[cfg(target_os = "linux")]
844 {
845 use std::sync::atomic::Ordering;
846 AUDIO_RUNNING.store(true, Ordering::SeqCst);
847 std::thread::spawn(|| {
848 alsa_audio_thread();
849 });
850 }
851}
852
853#[no_mangle]
854pub extern "C" fn bloom_close_audio() {

Callers

nothing calls this directly

Calls 1

alsa_audio_threadFunction · 0.85

Tested by

no test coverage detected