This mailing list is intended for questions about how to write audio drivers –
if you have questions about how to write audio applications, I can suggest
StackOverflow or the Windows pro audio application forum.
To answer your question, though, you can use the capability API to query for
whether your app has been granted microphone permission, and to be notified
if/when this changes.
Windows-universal-samples/Samples/Capabilities at master ·
microsoft/Windows-universal-samples
(github.com)<https://github.com/microsoft/Windows-universal-samples/tree/master/Samples/Capabilities>
________________________________
From: wdmaudiodev-bounce@xxxxxxxxxxxxx <wdmaudiodev-bounce@xxxxxxxxxxxxx> on
behalf of Gilles Degottex <gilles.degottex@xxxxxxxxx>
Sent: Tuesday, November 17, 2020 6:03:50 AM
To: wdmaudiodev@xxxxxxxxxxxxx <wdmaudiodev@xxxxxxxxxxxxx>
Subject: [EXTERNAL] [wdmaudiodev] How to check for audio access authorization
Hi,
I'm developing an audio software (on Win10) and I suspect users to block audio
access (by mistake) by either through Windows privacy settings or some
anti-virus software.
Is there a way to check for audio access authorization (in general and/or
access to specific devices) in C++
Cheers,
Gilles