feat: add custom audio sources

- Add capture_apps list of AudioSourceConfig (application, deviceOutput
  or deviceInput) to AudioSettings, serialized in the settings JSON
- Add IPC commands getAudioDevices, addAudioSource, removeAudioSource
  and updateAudioSource
- obs_context builds wasapi sources for the microphone and configured
  apps alongside the game-capture source
- Settings.vue gains an audio sources tab with device dropdowns and
  per-source volume
- getAudioDevices temporarily returns hardcoded defaults while the
  WASAPI enumeration crash is investigated; crash marker files around
  IPC and native call sites are part of that investigation
This commit is contained in:
vhaudiquet committed 2026-11-12 23:17:26 +01:00
1 parent 7468bdf5de
commit 4f9f84446d
13 files changed
+1711 -69

No files matched your search

+7
View File
@@ -80,6 +80,13 @@ signal-hook-tokio = { version = "0.4", features = ["futures-v0_3"] }
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["winuser", "winreg", "winnt"] }
winreg = "0.56"
windows = { version = "0.58", features = [
"Win32_Media_Audio",
"Win32_System_Com",
"Win32_UI_Shell_PropertiesSystem",
"Win32_Foundation",
"Win32_Devices_Properties",
] }
[dev-dependencies]
# Testing utilities