vAmiga icon indicating copy to clipboard operation
vAmiga copied to clipboard

macOS Monterey floods the console with AudioQueueObject errors

Open dirkwhoffmann opened this issue 3 years ago • 2 comments

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.

dirkwhoffmann avatar Nov 02 '21 21:11 dirkwhoffmann

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...

dirkwhoffmann avatar Nov 04 '21 12:11 dirkwhoffmann

Same problem here on macCatalyst

applefanbois avatar Apr 11 '22 14:04 applefanbois

I am curious if Apple is going to fix the bug in macOS Ventura...

dirkwhoffmann avatar Oct 23 '22 09:10 dirkwhoffmann

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.

emoon avatar Oct 23 '22 09:10 emoon

Just upgraded to macOS Ventura. It seems like Apple has fixed the bug.

dirkwhoffmann avatar Oct 25 '22 16:10 dirkwhoffmann