Post

Replies

Boosts

Views

Activity

CoreAudio: Audio Output Device Stopped Error since macOS 15
Hello! I used the Apple CA Playthrough example code that pipes audio between devices. It uses AudioUnit callbacks to pipe the input to an output device, and I created a system equalizer with it - however users reported it stopped working in macOS 15. I am getting the error HALPlugIn.cpp:552 HALPlugIn::DeviceGetCurrentTime: got an error from the plug-in routine, Error: 1937010544 (stop) for the output device and no sound coming out of the speakers. The error only occurs when using a virtual device as an input, not using the microphone. First I thought the problem was in the loopback driver, but it also does not work with other loopback drivers like Blackhole. STEPS TO REPRODUCE Install a virtual device, for example "brew install blackhole-2ch" and run the CAPlayThrough example code (you need to add Mic Permission in the info.plist). Then set your system audio output to the virtual device, select the device as input in CAPlayThrough and hit start. You should see the error in console. My question: What did change in macOS 15 that could cause this? Is it something with the new permission handling maybe?
0
0
123
1w
App stopped working on iOS 16 with some devices - how to debug?
Hello 👋, after people updating to iOS 16 I was getting reports that my tuner app is not working anymore for some people. The mic is working and also everything else except the pitch detection. There seems to be a connection with the device it is running on - it seems to not be working on iPhone 11 Pro. In the iPhone 11 Pro simulator it works though, and also with every other device I tested with. Any hints how I could debug this issue further without having an iPhone 11 Pro? Without being able to reproduce the bug it is impossible to fix... No compiler warnings or anything 🫤 Maybe someone has an idea how to deal with this 😎 - have there been changes in iOS 16 that could be related? Thx 🙏
0
0
577
Sep ’22