()
| 611 | |
| 612 | #[no_mangle] |
| 613 | pub 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] |
| 626 | pub extern "C" fn bloom_close_audio() { |
nothing calls this directly
no test coverage detected