Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
No Sounds in QB64 Programs
#21
(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`.

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.  Big Grin  Angel
Thank you so much, I can confirm that did fix the problem Smile
Reply


Messages In This Thread
No Sounds in QB64 Programs - by NakedApe - 09-20-2023, 01:12 AM
RE: No Sounds in QB64 Programs - by TerryRitchie - 09-20-2023, 02:57 AM
RE: No Sounds in QB64 Programs - by NakedApe - 09-20-2023, 04:47 AM
RE: No Sounds in QB64 Programs - by a740g - 09-20-2023, 12:39 PM
RE: No Sounds in QB64 Programs - by NakedApe - 09-20-2023, 03:34 PM
RE: No Sounds in QB64 Programs - by NakedApe - 09-20-2023, 06:29 PM
RE: No Sounds in QB64 Programs - by bplus - 09-20-2023, 10:18 AM
RE: No Sounds in QB64 Programs - by grymmjack - 10-09-2023, 06:46 PM
RE: No Sounds in QB64 Programs - by mnrvovrfc - 09-20-2023, 07:55 PM
RE: No Sounds in QB64 Programs - by NakedApe - 09-20-2023, 11:11 PM
RE: No Sounds in QB64 Programs - by grymmjack - 09-21-2023, 12:34 PM
RE: No Sounds in QB64 Programs - by NakedApe - 09-21-2023, 03:54 PM
RE: No Sounds in QB64 Programs - by SMcNeill - 09-21-2023, 04:22 PM
RE: No Sounds in QB64 Programs - by NakedApe - 09-21-2023, 08:49 PM
RE: No Sounds in QB64 Programs - by Mick - 10-08-2023, 12:22 AM
RE: No Sounds in QB64 Programs - by Mick - 10-08-2023, 12:46 AM
RE: No Sounds in QB64 Programs - by TerryRitchie - 10-08-2023, 02:15 AM
RE: No Sounds in QB64 Programs - by TerryRitchie - 10-08-2023, 02:18 AM
RE: No Sounds in QB64 Programs - by Mick - 10-08-2023, 02:26 AM
RE: No Sounds in QB64 Programs - by mnrvovrfc - 10-08-2023, 05:11 PM
RE: No Sounds in QB64 Programs - by a740g - 10-08-2023, 08:15 PM
RE: No Sounds in QB64 Programs - by Mick - 10-09-2023, 09:41 AM
RE: No Sounds in QB64 Programs - by SMcNeill - 10-09-2023, 10:23 AM
RE: No Sounds in QB64 Programs - by NakedApe - 10-14-2023, 10:41 PM
RE: No Sounds in QB64 Programs - by NakedApe - 10-14-2023, 11:01 PM
RE: No Sounds in QB64 Programs - by MacCodeSmith - 11-03-2023, 05:57 PM
RE: No Sounds in QB64 Programs - by a740g - 11-03-2023, 08:02 PM



Users browsing this thread: 3 Guest(s)