Sound of a virtual machine sometimes skipping fragments
Sometimes but rarely, when I boot up my windows 11 virtual machine, it's sound comes out on my speakers like parts of the sound were cut off. Usually I am hearing a screenreader talking on login screen. It sounds like parts of sentences are skipped. for example instead of "send button" I'd hear something like "sed bun" or whatever. Note it's a made up example, especially that my screenreader is in polish. Restarting pipewire fixes the issue if it happens, however i saw the examples of issue reappearing if pipewire was restarted while virtual machine was intensively playing sound. However if a pipewire restart fixes the bug it never reappears by itself. I am not sure at all if this is even pipewire causing the problem, might as well be qemu bug, but might be qemu's interaction with pipewire jack library or something.
It's pipewire 0.3.77, but the bug appears in earlier versions. Virtual machine is qemu directly connected to pipewire through jack backend.
I have recorded the real example which actually says something like "send button, send tooltip" but in polish. One is the example with the bug triggered, one is the example without the bug triggered. Note it was recorded by connecting qemu's output directly to pw-record, so I didn't aneed to use a monitor of speakers nor the lower level sound dump facility, so it's definitely not sound card level.