blob: 25f2d59e5b3caaee0707bd863f60ac9bb29cad3b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
graphic: 0.885
device: 0.809
semantic: 0.544
instruction: 0.510
mistranslation: 0.423
vnc: 0.381
boot: 0.323
other: 0.280
socket: 0.268
KVM: 0.266
network: 0.237
assembly: 0.168
Audio: missing ability to disable microphone input from host?
Description of problem:
**It appears there is no way to disable the microphone / input to the audio backend device(s).**
There are at least two cases where this matters:
1. The host has no microphone input (e.g. only HDMI audio output with video).
2. The host has a microphone input, but the user doesn't want the guest VM to have access to the microphone/input.
I tried the option in.channels=0, as that seemed the most obvious way, though that doesn't work.
For -audio dsound, it appears that CLSID_DirectSoundCapture is unconditionally acquired.
There will also be later periodic warning/text outputs from QEMU "Could not create a backend for voice virtio.in", if you're running on a host system with no audio input device.
Adding a couple backend checks for channels > 0 may work well. Not sure if it matters that audio front end device in the VM still thinks there is an audio input.
|