How can I enable Microsoft spatial audio with code?

Huijae 20 Reputation points
2023-01-19T06:38:41.6266667+00:00

Hi

I'm reasearching Microsoft spatial audio (Windows, XBox series X).

When I search for "How to enable Microsoft spatial sound", I always get methods with UI.

Can I do this or get spatial audio format list with code?

if possible, can you provide some sample code or api? (Especially c++)

(summary)

Can I do this with code?

  • Enable/Disable spatial audio
  • Get list of spatial audio formats(windows sonic, DTS soud, Dolby Atmos)
  • (Advanced) Get/Set current spatial audio format

Thank you.

Huijae

Windows development Windows API - Win32
Windows for business Windows Client for IT Pros User experience Other
Developer technologies C++
{count} votes

Accepted answer
  1. Junjie Zhu - MSFT 21,646 Reputation points
    2023-01-22T06:31:40.72+00:00

    Hello @Huijae ,

    Welcome to Microsoft Q&A!

    I searched for relevant content in the official documentation and the Registry, and it seems that this function is not supported yet.

    I'd suggest you submit a feature request about this feature in the Feedback Hub.

    You could find the Feedback Hub in the Start Menu.

    Please select Developer Platform->API Feedback as the category when you submit your request.

    The related team will check the request.

    Thank you.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.