mirror of
https://github.com/jamiepine/voicebox.git
synced 2026-09-20 07:10:40 -07:00
Refactor Windows audio capture implementation
- Introduced AtomicBool for stop signal handling to improve thread safety. - Updated audio capture logic to utilize WASAPI more effectively, including error handling and buffer management. - Enhanced the spawn mechanism for audio capture tasks to ensure compatibility with non-Send types. - Added a new dependency on the 'windows' crate in Cargo.lock for improved functionality.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#[cfg(target_os = "macos")]
|
||||
use std::process::Command;
|
||||
|
||||
fn main() {
|
||||
|
||||
Reference in New Issue
Block a user