Added an osd for microphone inputs. (#60)

This commit is contained in:
Jas Singh
2024-08-02 01:22:20 -07:00
committed by GitHub
parent 126f2b7535
commit 308e22b02f
5 changed files with 38 additions and 9 deletions

View File

@@ -38,7 +38,7 @@ const renderActiveInput = () => {
hpack: "start",
truncate: "end",
wrap: true,
label: audio.bind("microphone").as((v) => v.description || ""),
label: audio.bind("microphone").as((v) => v.description === null ? "No input device found..." : v.description),
}),
Widget.Slider({
value: audio.microphone.bind("volume").as((v) => v),