Open pforpond opened 3 years ago
Now that shall prove challenging and might take a tad longer to find a fix to. My Mac mini won't run Big Sur.
My Mac mini won't run Big Sur.
That is a shame. I'll be happy to test / try anything you need me to, if ever needed.
You're on the latest Xcode command line tools too, I assume?
Yes I made sure to update those before attempting anything with QB64. I've managed to make the mistake of overlooking the Xcode updates many times previously, feels good to have remembered it for once.
Did you carry QB64's folder from before you updated to Big sur or is it a fresh install? You might wanna purge all precompiled content too: ./internal/c/purge_all_precompiled_content_osx.command
(might need to chmod + x
it first) - then rerun the setup script
I used a fresh install of QB64. Just tried the purge just incase it helped but it doesn't seem to have had any effect.
We're looking to replace OpenAL - that should fix it. No timeline yet though.
@pforpond hey there. We've pushed a change recently that won't necessarily fix audio on Big Sur but may allow programs to at least not crash at start. Would you mind giving the latest build a try?
I tried out the latest development build off the qb64 website. It seems to be working as you expected, no audio but no crashing either. :)
If it helps anyone, a workaround I've been using is to compile in a Catalina virtual machine. For some reason programs compiled in Catalina run with both audio and no crashes in Big Sur.
Thank you for letting me know! Yeah, it's true that binaries compiled in Catalina will work ok in Big Sur.
Thanks, Apple. 😂
I keep running into this error whenever I try using the "Play" keyword, I tried to install the ALSA tools, but it continues to display this error, and just know I'm using the Ubuntu subsystem for Windows
ALSA lib confmisc.c:855:(parse_card) cannot find card '0' ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default AL lib: alsa_open_playback: Could not open playback device 'default': No such file or directory
I keep running into this error whenever I try using the "Play" keyword, I tried to install the ALSA tools, but it continues to display this error, and just know I'm using the Ubuntu subsystem for Windows
ALSA lib confmisc.c:855:(parse_card) cannot find card '0' ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default AL lib: alsa_open_playback: Could not open playback device 'default': No such file or directory
This repository has had no updates for more than a year and is, for all intents and purposes, abandoned. Instead, see a more up-to-date fork of this project at https://github.com/QB64-Phoenix-Edition/QB64pe.
The QB64-PE project uses a different audio backend that works much better with recent macOS versions.
Ok, Thank you a740g
Describe the bug Compiled applications that make use of audio crash whilst the audio is loading (I think?). Terminal displays
AL lib: ca_open_playback: AudioUnitInitialize failed
and the application exits with code 111. This does not effect builds compiled under previous versions of macOS or applications that do not use audio.QB64 info (please complete the following information):
To Reproduce Steps to reproduce the behaviour: Attempt to run an application that uses audio that was compiled with macOS Big Sur.
Expected behavior Application stops running.
AL lib: ca_open_playback: AudioUnitInitialize failed
displays in terminal.Screenshots