locked
Bug Report: WASAPI audio rendering session affected by microphone privacy settings RRS feed

  • Question

  • I've run into an issue with WASAPI rendering being affected when the microphone privacy setting is switched off while running an audio session.

    Environment:

    Windows 8.1 Pro + Visual Studio 2013

    Steps to reproduce:

    1) Start the Microsoft provided WASAPI sample: https://code.msdn.microsoft.com/Windows-Audio-Session-22dcab6b

    2) Select the Audio Rendering Scenario, and start playing a sine wave.

    3) Bring up the charms bar, select "settings", then "Change PC settings", then "Microphone", then switch "Let apps use my microphone" to off.

    Result: The wasapi client stops setting it's notification event

    Expected Result: Existing wasapi rendering clients are unaffected by microphone settings.

    Thursday, October 16, 2014 1:09 AM

Answers

  • Hello Nicholas,

    This behavior is by design for audio recording but should not affect audio playback. I will file a code defect for this behavior against the next version of the product. Please keep in mind that we cannot guarantee that we will be able to address this issue in the next or any future version of the operating system.

    Thank you very much for reporting this issue to us,

    James


    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Friday, November 7, 2014 12:56 AM
    Moderator

All replies

  • I'll ask our media guru to check this out.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Friday, October 17, 2014 12:48 PM
    Moderator
  • Hi Matt,

    Thanks for escalating this. Any updates?

    Thursday, November 6, 2014 12:45 AM
  • Hello Nicholas,

    This behavior is by design for audio recording but should not affect audio playback. I will file a code defect for this behavior against the next version of the product. Please keep in mind that we cannot guarantee that we will be able to address this issue in the next or any future version of the operating system.

    Thank you very much for reporting this issue to us,

    James


    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Friday, November 7, 2014 12:56 AM
    Moderator
  • Thanks James and Matt, I've passed the info along to my customer.
    Friday, November 7, 2014 3:40 AM