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

macOS verify microphone/line-in access programatically #11370

Open
daschuer opened this issue Mar 15, 2023 · 0 comments
Open

macOS verify microphone/line-in access programatically #11370

daschuer opened this issue Mar 15, 2023 · 0 comments

Comments

@daschuer
Copy link
Member

Feature Description

As discussed in #11365 the user has the option to reject the access to microphone and line-in. Once it has been rejected Mixxx will receive silence instead without any other error message.

To improve this situation we could probably detect the rejected the permission with AVFoundation and if they try to use the microphone anyway, point them to the system settings (perhaps even deep-link to it) where they can change the permission.

For the implementation we may backport parts of the new QT 6.5 permissions API
https://www.qt.io/blog/permission-apis-in-qt-6.5
https://github.com/qt/qtbase/blob/e7b8b7bfbe6fbcf2ecaccc4c47c09bd34ee26d8c/src/corelib/platform/darwin/qdarwinpermissionplugin.mm

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

No branches or pull requests

1 participant