refactor: default ignore_virtual
to off
This commit is contained in:
parent
e9ca1e72e6
commit
453e72b47f
2 changed files with 3 additions and 3 deletions
|
@ -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" });
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in a new issue