feat: separate audio tracks support in FFmpeg capture

- Added separate_audio_tracks option to PrivacySettings (default false)
- Updated CaptureConfig with separate_audio_tracks field
- Modified base_desktop_input_args to output separate AAC tracks when enabled
- Added UI toggle for 'Separate audio tracks' in Settings
- Fixed release build by removing SUBSYSTEM:WINDOWS linker flag (Tauri handles this)
- All tests pass
This commit is contained in:
Alvin-Zilverstand committed 2026-09-11 14:48:08 +02:00
1 parent 40f622199e
commit bfa263b45c
5 files changed
+35 -13

No files matched your search

+3
View File
@@ -704,6 +704,7 @@ mod tests {
mic_enabled: false,
system_audio_device: None,
mic_device: None,
separate_audio_tracks: false,
};
let mut backend = NativeWgcReplayCaptureBackend::new(&pattern, Duration::from_secs(1));
@@ -750,6 +751,7 @@ mod tests {
mic_enabled: false,
system_audio_device: None,
mic_device: None,
separate_audio_tracks: false,
};
let mut backend = NativeWgcReplayCaptureBackend::new(&pattern, Duration::from_secs(1));
@@ -796,6 +798,7 @@ mod tests {
mic_enabled: true,
system_audio_device: None,
mic_device: None,
separate_audio_tracks: false,
};
let mut backend = NativeWgcReplayCaptureBackend::new(&pattern, Duration::from_secs(1));