vAmiga
vAmiga copied to clipboard
macOS Monterey floods the console with AudioQueueObject errors
Messages look like this:
2021-11-02 22:00:48.449411+0100 vAmiga[56042:800491] [aqme] MEMixerChannel.cpp:1639 client <AudioQueueObject@0x7f927190d400; [0]; play> got error 2003332927 while sending format information
2021-11-02 22:00:48.643415+0100 vAmiga[56042:801739] [aqme] MEMixerChannel.cpp:1639 client <AudioQueueObject@0x7f927190d400; [0]; play> got error 2003332927 while sending format information
2021-11-02 22:00:58.629271+0100 vAmiga[56042:800491] [aqme] MEMixerChannel.cpp:1639 client <AudioQueueObject@0x7f926f06d200; [0]; play> got error 2003332927 while sending format information
2021-11-02 22:00:58.646096+0100 vAmiga[56042:800491] [aqme] MEMixerChannel.cpp:1639 client <AudioQueueObject@0x7f926f055000; [0]; play> got error 2003332927 while sending format information
2021
The messages are related to drive sounds. It started after upgrading to macOS Monterey, macOS Big Sur didn't complain.
I've written a small test program that instantiates an AVAudioPlayer and utilises it for playing an mp3. It prints the same error message. Maybe Apple screwed this up in macOS Monterey. Of course there is always the possibility that I used their API incorrectly, but there is really not much to configure here. AVAudioPlayer is very simple.
Maybe it's best to use the more advanced AVAudioEngine instead...
Same problem here on macCatalyst
I am curious if Apple is going to fix the bug in macOS Ventura...
I'm not exactly sure what your requirements are (and I'm sure if this will help also) but I really like https://github.com/mackron/miniaudio I use this in my musicplayer and it's a great library imo, so it might be useful for you also if you want to support cross-platform audio.
Just upgraded to macOS Ventura. It seems like Apple has fixed the bug.