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

+1
View File
@@ -644,6 +644,7 @@ fn start_capture_inner(runtime: &AppRuntime) -> Result<DesktopStatus, String> {
mic_enabled: recorder.settings.privacy.mic_enabled,
system_audio_device: recorder.settings.privacy.system_audio_device.clone(),
mic_device: recorder.settings.privacy.mic_device.clone(),
separate_audio_tracks: recorder.settings.privacy.separate_audio_tracks,
};
let backend = start_best_capture_backend(
&ffmpeg,