refactor: default ignore_virtual to off

This commit is contained in:
Curve 2024-05-31 18:54:16 +02:00
parent e9ca1e72e6
commit 453e72b47f
No known key found for this signature in database
GPG key ID: 460F6C466BD35813
2 changed files with 3 additions and 3 deletions

View file

@ -92,7 +92,7 @@ ipcMain.handle(IpcEvents.VIRT_MIC_START, (_, targets: Node[]) => {
data.exclude?.push({ "media.class": "Stream/Input/Audio" });
}
if (settings.audioIgnoreVirtual ?? true) {
if (settings.audioIgnoreVirtual) {
data.exclude?.push({ "node.virtual": "true" });
}
@ -118,7 +118,7 @@ ipcMain.handle(IpcEvents.VIRT_MIC_START_SYSTEM, () => {
data.exclude?.push({ "media.class": "Stream/Input/Audio" });
}
if (settings.audioIgnoreVirtual ?? true) {
if (settings.audioIgnoreVirtual) {
data.exclude?.push({ "node.virtual": "true" });
}

View file

@ -237,7 +237,7 @@ function AudioSettingsModal({
<Switch
hideBorder
onChange={v => (Settings.audioIgnoreVirtual = v)}
value={Settings.audioIgnoreVirtual ?? true}
value={Settings.audioIgnoreVirtual ?? false}
note={
<>
Exclude virtual nodes, such as nodes belonging to loopbacks. This might be useful when using