Merge pull request #553 from webadderallorg/fix/embedded-audio-companion-fallback

fix(recording): avoid duplicate system audio fallback
This commit is contained in:
Phạm Thị Minh Hồng authored and GitHub committed 2026-05-22 18:18:35 +07:00
commit 4e41250505
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,
),
),
),