fix: make electron use loopback instead of loopbackwithmute (#236)

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>
This commit is contained in:
Jacob Schlecht 2026-07-16 15:28:24 -06:00 committed by GitHub
parent e00f3a860c
commit 1940938850
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -204,7 +204,7 @@ export function createMainWindow() {
// See vencord for an implementation using a virtual microphone. // See vencord for an implementation using a virtual microphone.
callback({ callback({
video: sources[0], video: sources[0],
audio: request.audioRequested ? "loopbackWithMute" : undefined, audio: request.audioRequested ? "loopback" : undefined,
}); });
return; return;
} }
@ -216,7 +216,7 @@ export function createMainWindow() {
} else { } else {
callback({ callback({
video: sources[idx], video: sources[idx],
audio: audio ? "loopbackWithMute" : undefined, audio: audio ? "loopback" : undefined,
}); });
} }
}, },