promeneur opened issue #1773: qemu does not use the mic of the webcam dedicated to the VM at QEMU / QEMU

promeneur
2023-07-20T11:46:43Z

Host environment

Operating system: openSuse tumbleweed

OS/kernel version: 6.4.3

Architecture: x86

QEMU flavor: qemu-system-x86_64

QEMU version: 8.02

QEMU command line:

qemu-kvm -enable-kvm \
-m 4096 -smp 4 -cpu host \
-display gtk,gl=on,zoom-to-fit=off \
-device virtio-vga-gl \
-device usb-ehci,id=ehci \
-device usb-kbd \
-device usb-mouse \
-device usb-tablet \
-device usb-host,vendorid=0x046d,productid=0x0942 \ <<<<<<< the webcam for the VM
-device usb-host,vendorid=0x0a5c,productid=0x21e8 \
-device intel-hda \
-device hda-duplex,audiodev=snd0 \
-audiodev pa,id=snd0 \
-boot menu=on \
-nic bridge,mac=00:16:3e:4f:96:78 \
~/QEMU_VM/Bliss-v14.10-x86_64-OFFICIAL-opengapps-20230704.img

Emulated/Virtualized environment

Operating system: android-x86, bliss

OS/kernel version: 5.15

Architecture: x86

Steps to reproduce

plug two webcams to the desktop, one for the host and one for the VM

launch QEMU VM

QEMU VM take the desktop webcam mic instead of the webcam mic dedicated to the VM.