开发者

How to give microphone access to Java in Eclipse? (Audio input issues)

开发者 https://www.devze.com 2022-12-07 18:10 出处:网络
I am trying to test a Kava program that records and plays back audio from the Macbook laptop. Here is the link to the code: github

I am trying to test a Kava program that records and plays back audio from the Macbook laptop.

Here is the link to the code: github

When I run it on Eclipse, it cannot record any audio. However, when I export it to a JAR file and run it from terminal, then there will be a pop up asking for permission to use the microphone and then it can successfully record and playback audio input.

How would I be able to give Eclipse microphone permissions so that I can run it directly from within Eclipse?

I have tried installing a new version of Eclipse as another user mentioned it will ask for permissions but nothing popped up.

Also, went开发者_开发问答 on System Preferences to add it there, but Eclipse/Java does not show up as an option to even allow.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号