QEMU 5.1 will be adding Jack audio passthrough as an alternative to PulseAudio or Alsa passthrough: https://github.com/qemu/qemu/blob/master/audio/jackaudio.c Someone should test before adding the proper dependencies to the ebuild but media-sound/jack2 was the only primary dependency I needed when adding it to my own qemu-9999.ebuild Reproducible: Always
Slow down, eh? It will need rekeywording but we have to add the dep first, and really, wait for the release. It may need to be added to the live ebuild now though.
> It may need to be added to the live ebuild now though. Part of the reason for the bug report :) it's been in upstream QEMU for around roughly 2 months now
Would be nice if this was looked at given qemu-5.1.0 is released and in tree. I've briefly tried it and it works great when built with --audio-drv-list=jack + virtual/jack (r)dep (albeit only tested with jack2).
If you have a patch i can review it and 'git am' to ::gentoo tree.
Created attachment 656748 [details, diff] qemu-5.1.0 jack support (In reply to Sergei Trofimovich from comment #4) > If you have a patch i can review it and 'git am' to ::gentoo tree. Sure, just made one. Used pulseaudio as reference to do the same so it "should" be fine as-is. Order-wise I think it makes most sense after pulseaudio but higher than the rest. static-libs aren't provided by jack so I blocked that. I've tested building against jack1 now and looks fine allowing virtual/jack to be used.
Created attachment 656752 [details, diff] qemu 5.1.0+9999 jack support Forgot to include -9999 in there so new version for completeness.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e11a90081df511b04e286caad67d18d6fc45d664 commit e11a90081df511b04e286caad67d18d6fc45d664 Author: Ionen Wolkens <sudinave@gmail.com> AuthorDate: 2020-08-25 20:18:54 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-08-25 22:23:50 +0000 app-emulation/qemu: add jack support Closes: https://bugs.gentoo.org/733612 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> app-emulation/qemu/qemu-5.1.0.ebuild | 6 ++++-- app-emulation/qemu/qemu-9999.ebuild | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-)
Looks perfect! Applied as is. Thank you!