In the QEMU 7.1 release the deprecated -soundhw option was removed.
Replace it with -audio so we can have audio working again in QEMU.
See also https://www.qemu.org/docs/master/about/removed-features.html
---
pmb/qemu/run.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/pmb/qemu/run.py b/pmb/qemu/run.py
index 46e2d752..fdfe5447 100644
--- a/pmb/qemu/run.py+++ b/pmb/qemu/run.py
@@ -229,8 +229,7 @@ def command_qemu(args, arch, img_path, img_path_2nd=None):
# Audio support
if args.qemu_audio:
- command += ["-audiodev", args.qemu_audio + ",id=audio"]- command += ["-soundhw", "hda"]+ command += ["-audio", f"{args.qemu_audio},model=hda"] return (command, env)
--
2.40.1
On Mon Jun 5, 2023 at 12:23 PM CEST, Luca Weiss wrote:
> In the QEMU 7.1 release the deprecated -soundhw option was removed.> Replace it with -audio so we can have audio working again in QEMU.>> See also https://www.qemu.org/docs/master/about/removed-features.html
Reviewed-by: Oliver Smith <ollieparanoid@postmarketos.org>
> ---> pmb/qemu/run.py | 3 +--> 1 file changed, 1 insertion(+), 2 deletions(-)>> diff --git a/pmb/qemu/run.py b/pmb/qemu/run.py> index 46e2d752..fdfe5447 100644> --- a/pmb/qemu/run.py> +++ b/pmb/qemu/run.py> @@ -229,8 +229,7 @@ def command_qemu(args, arch, img_path, img_path_2nd=None):> > # Audio support> if args.qemu_audio:> - command += ["-audiodev", args.qemu_audio + ",id=audio"]> - command += ["-soundhw", "hda"]> + command += ["-audio", f"{args.qemu_audio},model=hda"]> > return (command, env)> > -- > 2.40.1
On Mon, 05 Jun 2023 12:23:20 +0200, Luca Weiss wrote:
> In the QEMU 7.1 release the deprecated -soundhw option was removed.> Replace it with -audio so we can have audio working again in QEMU.> > See also https://www.qemu.org/docs/master/about/removed-features.html> >
Applied, thanks!
[1/1] pmb.qemu.run: replace removed -soundhw option
commit: d68d5fcf20f7e48fe64b6a9b23d5406aa0756f55
Best regards,
--
Oliver Smith <ollieparanoid@postmarketos.org>