Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio input does not work on MacOs versions. #1819

Closed
rkarikari opened this issue Sep 10, 2023 · 3 comments · Fixed by #1822
Closed

Audio input does not work on MacOs versions. #1819

rkarikari opened this issue Sep 10, 2023 · 3 comments · Fixed by #1822
Assignees

Comments

@rkarikari
Copy link

rkarikari commented Sep 10, 2023

Hello,

I'd like to bring the following to your attention.

Rx device "Audio" does not work until the following lines are included ... at the end of the info.plist file.

<key>NSMicrophoneUsageDescription</key> 
<string>This app requires microphone access to receive signals</string>

I have had to make this edit on every version upgrade since v 14.x
I'm surprised no one else has mentioned this.

My OS version is Monterey 12.6.8

Sometimes I need to reset the microphone permissions as well ....

tccutil reset Microphone com.f4exb.SDRangel

Thank you so much .

@srcejon srcejon self-assigned this Sep 11, 2023
@srcejon
Copy link
Collaborator

srcejon commented Sep 11, 2023

It seems the problem was reported on the mailing list sometime ago: https://groups.io/g/sdrangel/topic/74229711#

Just trying it here, however, I have the same problem as Fabio, in that the above doesn't help - Microphone permission is only granted if SDRangel is run from the terminal, not from Finder. However, I'll add a patch to add that key in to Info.plist anyway, as it seems to be required. I'll also add camera and location.

@srcejon
Copy link
Collaborator

srcejon commented Sep 11, 2023

Possibly need to request permission, as mentioned here: https://www.mail-archive.com/interest@qt-project.org/msg31897.html

Seems Qt only has an API for this from 6.5: https://www.qt.io/blog/permission-apis-in-qt-6.5

So may need some objc code - yeuck

@rkarikari
Copy link
Author

Thanks so much for looking into this.
Much appreciated.
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants