fix(native): audio capture volume (#11240)

This commit is contained in:
Brooooooklyn
2025-03-27 12:55:09 +00:00
parent 504a74d512
commit 7ae0132da9
5 changed files with 57 additions and 36 deletions
@@ -524,10 +524,13 @@ async function getAllApps(): Promise<AppInfo[]> {
}
});
const filteredApps = apps.filter(
(v): v is AppInfo =>
v !== null && !v.bundleIdentifier.startsWith('com.apple')
);
const filteredApps = apps.filter((v): v is AppInfo => {
return (
v !== null &&
(!v.bundleIdentifier.startsWith('com.apple') ||
v.bundleIdentifier === 'com.apple.Music')
);
});
for (const app of filteredApps) {
if (filteredApps.some(a => a.processId === app.processGroupId)) {