set up for working with virtmic module

This commit is contained in:
Kaitlyn 2023-09-27 13:01:25 -04:00
parent 0f065a715e
commit 63e9023a4f
3 changed files with 3 additions and 6 deletions

View file

@ -1,3 +0,0 @@
export function createVirtmic () {
};

View file

@ -109,7 +109,7 @@ function ScreenPicker({ screens, chooseScreen }: { screens: Source[]; chooseScre
);
}
function StreamSettings({
export function StreamSettings({
source,
settings,
setSettings

View file

@ -12,8 +12,8 @@ if (isLinux) {
var id: string|undefined;
try {
let myDiscordAudioSink = await getAudioDevice('virtmic');
id = myDiscordAudioSink?.deviceId;
let vesktopAudioSink = await getAudioDevice('vesktop-virtmic');
id = vesktopAudioSink?.deviceId;
}
catch (error) {
id = 'error';