Comments (6)
from portaudio.
Update on the issue.
There is more evidence to show.
I built two executables on the same (and last) commit of my app.
One (a) is built on the iMac 2009, and (b) is built on the Mac Mini 2018
To recap: problem is that when I run (b) on the Mac Mini 2018 it fails.
But, here the news: when I run (a) en the Mac Mini 2018, it works.
So it has to do with an issue during the build, and not with any condition at runtime.
So here's something that I omitted to mention in the original post, and my apologies for that:
When building on the Mac Mini the go build prints this to the console, and repeatedly:
app_darwin.m:11:32: warning: 'NSUserNotification' is deprecated: first deprecated in macOS 11.0 - All NSUserNotifications API should be replaced with UserNotifications.frameworks API [-Wdeprecated-declarations]
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:24:12: note: 'NSUserNotification' has been explicitly marked deprecated here
app_darwin.m:17:33: warning: 'NSUserNotificationCenter' is deprecated: first deprecated in macOS 11.0 - All NSUserNotifications API should be replaced with UserNotifications.frameworks API [-Wdeprecated-declarations]
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:118:12: note: 'NSUserNotificationCenter' has been explicitly marked deprecated here
...
(it repeats a few time over the same pair of warnings)
I hope this rings any bell to somebody
Thanks
from portaudio.
Hi, cool application!
I suspect this is another case (like #41) related to this issue with the PortAudio C library on Big Sur. The latest development indicate that the macOS SDK version built against affects whether it fails at runtime on Big Sur. I assume you are using SDK 11 on your Mac Mini 2018 and not on the iMac 2009.
I'l close this issue since it seems to be an issue with the underlying C library. Feel free to re-open or share your thoughts if there is something relevant to the Go bindings.
from portaudio.
from portaudio.
I think we just have to wait for those issues to be fixed. I'm not on BIg Sur so I haven't had the problem and can't test.
from portaudio.
from portaudio.
Related Issues (20)
- Opening a stream with a framesPerBuffer of 0 causes a buffer underrun and a stutter HOT 1
- "Unknow Error" in MacOS Big Sur HOT 1
- Get nothing using OpenDefaultStream in the latest mac os Big Sur. HOT 1
- Does not appear to work with PipeWire HOT 3
- Running mp3 example with hajimehoshi/go-mp3 library HOT 5
- Playing Opus stream causes playback half speed HOT 3
- Issues installing on Windows HOT 5
- how can I use go get ? HOT 2
- GEt live audio from microphone HOT 2
- Resulting windows apps built with golang 1.17.5 crash on startup. HOT 1
- windows dll HOT 4
- MacOS compile Windows error HOT 2
- Example `play.go` not working correctly HOT 1
- "go install <your portaudio module>" doesn't work HOT 3
- play.go example aiff file sounds "strange" HOT 2
- How do I get microphone level? [HELP] HOT 2
- fatal error: checkptr: pointer arithmetic result points to invalid allocation HOT 7
- examples/record.go not working keep getting panice error
- The built binary file cannot run another Windows HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from portaudio.