hide audio sources with no name
This commit is contained in:
parent
43ca479fc8
commit
b5772fb359
1 changed files with 2 additions and 1 deletions
|
@ -40,7 +40,8 @@ ipcMain.handle(IpcEvents.VIRT_MIC_LIST, () => {
|
||||||
return obtainVenmic()
|
return obtainVenmic()
|
||||||
?.list()
|
?.list()
|
||||||
.filter(s => s["application.process.id"] !== audioPid)
|
.filter(s => s["application.process.id"] !== audioPid)
|
||||||
.map(s => s["application.name"]);
|
.map(s => s["application.name"])
|
||||||
|
.filter(s => s);
|
||||||
});
|
});
|
||||||
|
|
||||||
ipcMain.handle(
|
ipcMain.handle(
|
||||||
|
|
Reference in a new issue