[wdmaudiodev] Re: [EXTERNAL] How to check for audio access authorization

  • From: Gilles Degottex <gilles.degottex@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Wed, 18 Nov 2020 18:10:25 +0100

Sorry for the wrong posting and thanks for answering still!

Cheers,
Gilles

On Wed, Nov 18, 2020 at 6:09 PM Matthew van Eerde <
dmarc-noreply@xxxxxxxxxxxxx> wrote:

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

Other related posts: