Skip to content

LineIn not working on MacOS Big Sur #91

@philburk

Description

@philburk

REPRODUCE
Run example AudioPassThrough

EXPECT
Hear audio from input echod to output.

ACTUAL
No audio input.

ADDITIONAL
One problem is if the Macbook does not have any USB interface attached.
The start() will fail. The built-in speaker is mono but the app requests stereo.
Connecting a stereo audio interface helps.

But then we get the silence. This seems related to new Apple privacy rules related to microphones.

Bug for OpenJDK - Resolved May 2020-05
https://bugs.openjdk.java.net/browse/JDK-8244951

Related bugs for AdoptOpenJDK
adoptium/adoptium-support#222
adoptium/temurin-build#1720

Mac tech help for enabling an app
https://help.uaudio.com/hc/en-us/articles/360050791811-macOS-11-Big-Sur-Apple-M1-Compatibility-Info
https://developer.apple.com/documentation/avfoundation/cameras_and_media_capture/requesting_authorization_for_media_capture_on_macos

Oracles OpenJDK for Mac
https://jdk.java.net/
Installation Instructions at:
https://java.tutorials24x7.com/blog/how-to-install-openjdk-14-on-mac

I installed JDK 16 but Mac says it is corrupt. It seems to me that Oracle is trying to destroy Java and has successfully killed it on the Mac.

So I may need to switch to Linux or switch to another language! The Mac is becoming increasingly unfriendly to developers. And I don't know of a good cross platform language environment.

Is there a Rust UI? https://linebender.org/druid/

https://flutter.dev/
https://developer.android.com/jetpack/compose

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions