10-09-2023, 09:41 AM
(10-08-2023, 08:15 PM)a740g Wrote: Ok. A quick note. I've been experiencing the same issue after some recent macOS update. I am quite certain it was `13.5.1`.Thank you so much, I can confirm that did fix the problem
I think Apple changed something. If anyone is running something earlier than 13.5, please test and let us know.
I'll try to roll back the build on my machine and test when I get some time.
BTW, I am on Ventura.
Update: A quick way to verify this is an OS problem and not QB64-PE is to use an older build of QB64-PE like 3.7 or 3.6.
Update 2: The issue seems to be limited to Ventura and Sonoma. Thanks to @grymmjack for testing.
Update 3:
Ok. I found a fix for this and will be pushing it to the GitHub repo shortly. Updated bits will be available in the next release.
For the technically inclined, see the macOS building notes here https://miniaud.io/docs/manual/index.html#Building
And no, using an older version of QB64-PE will not help. To work around this in the current release of QB64-PE do the following:
- Find and open `internal/c/parts/audio/miniaudio_impl.cpp` for editing
- Right after line #14 (one that says `#include "extras/stb_vorbis.c"`) add the following
Code: (Select All)#ifdef __APPLE__
# define MA_NO_RUNTIME_LINKING
#endif- Do not change anything else and save the file
- Open QB64-PE and then click `Debug > Purge C++ Libraries`
- Compile your program and now audio should work
I wish Apple left their notarization process requirements relaxed.
Sorry about all this. Saying "screw you Apple!" may make you feel better though.