AudioShare: Even more granular selection, Allow device sharing (#750)

This commit is contained in:
Noah
2024-07-12 16:14:18 +02:00
committed by GitHub
parent 61bbd7f6aa
commit 9acc6652ff
3 changed files with 60 additions and 18 deletions

View File

@@ -72,7 +72,7 @@ ipcMain.handle(IpcEvents.VIRT_MIC_LIST, () => {
const { granularSelect } = Settings.store.audio ?? {};
const targets = obtainVenmic()
?.list(granularSelect ? ["application.process.id"] : undefined)
?.list(granularSelect ? ["node.name"] : undefined)
.filter(s => s["application.process.id"] !== audioPid);
return targets ? { ok: true, targets, hasPipewirePulse } : { ok: false, isGlibCxxOutdated };