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 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,618 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,747 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,422 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,527 questions
{count} votes

Accepted answer
  1. Junjie Zhu - MSFT 14,751 Reputation points Microsoft Vendor
    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