News for hackers. Stuff that matters.
Re:An Appeal to Apple from Anukari: one tiny macOS detail to... by jonas21 on Tuesday May 06, 2025 @12:42PM (#43907077)
I'm having trouble understanding what the problem is -- as in, what are the actual symptoms that users are seeing? How much latency can the app tolerate and how much are you seeing in practice? It would be helpful (to me at least) in thinking about potential solutions if that information were available up front.

Perhaps there's something in this video that might help you? They made a lot of changes to scheduling and resource allocation in the M3 generation:

https://developer.apple.com/videos/play/tech-talks/111375/

Re:An Appeal to Apple from Anukari: one tiny macOS detail to... by humbledrone on Tuesday May 06, 2025 @03:21PM (#43908688)
It's a real-time audio app, so if it falls behind real time, no audio. You get cracks, pops, and the whole thing becomes unusable. If the user is doing audio at 48 kHz, the required latency is 1/48,000 seconds per sample, or realistically somewhat less than that to account for variance and overhead.
Re:An Appeal to Apple from Anukari: one tiny macOS detail to... by lostmsu on Tuesday May 06, 2025 @06:16PM (#43910178)
I find it hard to believe that users would notice latency under 1ms. Probably not even under 5ms.

Have you tried buffering for 5ms? Was result bad? 1 ms?