fix: make electron use loopback instead of loopbackwithmute

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>
This commit is contained in:
Jacob Schlecht 2026-07-10 19:29:28 -06:00
parent c15ab984fc
commit 8b6381a739
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.
callback({
video: sources[0],
audio: request.audioRequested ? "loopbackWithMute" : undefined,
audio: request.audioRequested ? "loopback" : undefined,
});
return;
}
@ -216,7 +216,7 @@ export function createMainWindow() {
} else {
callback({
video: sources[idx],
audio: audio ? "loopbackWithMute" : undefined,
audio: audio ? "loopback" : undefined,
});
}
},