I installed virtmanager and use to run my Win10 VM, in Win10 the system detected the sound card but no sound in host. I found that we need media-plugins/gst-plugins-pulse to make sound work, but this package isn't in the dependency graph. I believe we shound add this package as the dependency for spice(or spice-gtk?) Reproducible: Always
I suspect it needs any gstreamer audio output plugin that works for you, not gst-plugins-pulse specifically (though that's probably the best one to use when using pulseaudio-daemon or pipewire[sound-server]). The spice-gtk already suggests this: optfeature "Sound support (via pulseaudio)" media-plugins/gst-plugins-pulse
I checked the code and it actually indeed specifically needs pulsesrc from gst-plugins-pulse, not generic audio sink (pulseaudio is a source instead too). That said, there's already suggestion for that, though I personally think it'd make sense to at least pull it in via USE=pulseaudio instead of optfeature.
Correct: "pulsesrc is a source instead too" Comment edit support in bugzilla when? :) Too used to being able to just edit it later elsewhere and posting too soon.