fix(recording): avoid duplicate system audio fallback

This commit is contained in:
wiiiii123 committed 2026-05-22 18:16:19 +07:00
1 parent 895dfa958a
commit 9c8bf83ef8
1 file changed
+1 -2
+1 -2
View File
@@ -512,8 +512,7 @@ export async function getCompanionAudioFallbackInfo(videoPath: string) {
new Set(
companionCandidates.flatMap((candidate) =>
candidate.usablePaths.filter(
(companionPath) =>
companionPath === candidate.micPath || companionPath === candidate.systemPath,
(companionPath) => companionPath === candidate.micPath,
),
),
),