AC97+CoreAudio no audio when out frequency not 44,1KHz & always forces host to use 44,1KHz (or less if frequency not supported)
Host environment
- Operating system: macOS Ventura 13.0 Beta (22A5331f) (also happens on Big Sur and Monterey)
- OS/kernel version: Darwin Visuals-MacBook-Air.local 22.1.0 Darwin Kernel Version 22.1.0: Mon Aug 15 20:06:40 PDT 2022; root:xnu-8792.40.29.161.2~1/RELEASE_ARM64_T8103 arm64
- Architecture: AARCH64
- QEMU flavour: qemu-system-x86_64
- QEMU version: QEMU 7.1.0
- QEMU command line:
qemu-system-x86_64 -M q35 -m 4G -hda fat:rw:Drive -device ac97
Emulated/Virtualized environment
- Operating system: Custom Operating system
- OS/kernel version: N/A
- Architecture: x86_64
Description of problem
AC97+CoreAudio outputs no audio when output frequency not 44,1KHz. Also always forces host to use 44,1KHz (or less if frequency not supported on host output)
Steps to reproduce
- Boot any OS with (only) AC97 audio on macOS
- Attempt to play audio with output frequency in guest set to 48KHz
- Observe lack of output
Additional information
I'm using QEMU to test a Custom OS written by me, but this shouldn't be a code issue on our side, rather an issue with QEMU itself, if this is mistaken, please inform us.