Skip to content

Commit cd77b80

Browse files
committed
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.
1 parent 1217401 commit cd77b80

4 files changed

Lines changed: 6342 additions & 68 deletions

File tree

‎tauri/src-tauri/Cargo.lock‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎tauri/src-tauri/build.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#[cfg(target_os = "macos")]
12
use std::process::Command;
23

34
fn main() {

0 commit comments

Comments
 (0)