fix(recording): avoid doubled mic audio on macOS system+mic captures

On macOS the system-audio capture already contains the mic, so the recording embeds a full system+mic mix. The fallback also added the separate mic sidecar, doubling the mic into an echo. Use the embedded mix alone. Fixes #628.
This commit is contained in:
josh-abram
2026-06-22 20:08:16 +10:00
parent d8e34a1df3
commit f9418f4cd0
+2
View File
@@ -527,6 +527,8 @@ export async function getCompanionAudioFallbackInfo(videoPath: string) {
if (!hasUsableMacSystemCompanion && usableMacMicOnlyCompanions.length > 0) {
paths = usableMacMicOnlyCompanions;
} else if (hasUsableMacSystemCompanion) {
paths = [videoPath];
} else {
const companionPaths = Array.from(
new Set(