promeneur opened issue #1980: pipewire backend, bad mic sound at QEMU / QEMU

promeneur
2023-11-12T07:43:24Z

Host environment

Operating system: openSUSE Tumbleweed

OS/kernel version: 6.5.9

Architecture: x86_64

QEMU flavor: qemu-system-x86_64

QEMU version: 8.1

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 qemu-xhci,p2=6,p3=6,id=xhci
-device usb-ehci,id=ehci
-device usb-kbd
-device usb-mouse
-device usb-tablet
-device intel-hda
-device hda-duplex,audiodev=snd0
-audiodev pipewire,id=snd0
-device usb-host,vendorid=0x046d,productid=0x0825
-device usb-host,bus=xhci.0,port=1,vendorid=0x0b05,productid=0x190e
-boot menu=on
-nic bridge,mac=00:16:3e:76:a3:e4
~/QEMU_VM/android_x86_64_8.1-r6.img \

Emulated/Virtualized environment

Operating system: android-x86 8.1 r6

OS/kernel version:

Architecture: x86_64

Description of problem

Qemu VM and openSUSE share the webcam mic. Pipewire is used by openSUSE.

If using qemu with pa backend, there is no sound problem when mic is used by Skype in openSUSE. If using qemu with pipewire backend and Skype used the mic then my contact says he does not recognize my voice and there are cracks.

Steps to reproduce

Additional information