Seems like there are too much vexing assertion on the MAC platform, and porting code that works flawlessly on Windows and Linux, seems to fail on Mac.
So this thread will list all the PITA I’ve found so far, so they can be fixed:
- setThreadAffinity : not supported on Mac, but generate a runtime assertion, should not compile or warning + be ignored in runtime
- OK() macro in CoreAudio trigger jassertfalse, while it shouldn’t. When doing AudioDevice.open() the result is the error string, so there is no need to double pain the user, I’m handling the error already in my code, but I can’t prevent the assertion.
- OpenGLPixelFormat listing : when there is no implementation, please return at least a default version (ARGB for example), so the code doesn’t figure out there is no OpenGL pixel format supported.