Enumerate APOs (FxProperties) on AudioEndpoints

Daniel Beneš 1 Reputation point
2022-07-18T20:01:13.577+00:00

Hello.

Is there any way, how to enumerate registered APOs on AudioEndpoint in C++ or C#?
I know that it's in registry folder FxProperties under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\MMDevices\Audio...

I found only how to enumerate only AudioEndpints or only APOs, but not how to "connect" it together.

Thank you

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
9,963 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,445 questions
Windows Hardware Performance
Windows Hardware Performance
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.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,508 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jeanine Zhang-MSFT 8,316 Reputation points Microsoft Vendor
    2022-07-19T03:05:50.047+00:00

    Hi,

    Welcome to Microsoft Q&A!

    According to your description, whether you want to enumerate the values of FxProperties? If so I suggest you could try to use RegEnumValueA function to enumerates the values for the specified open registry key.

    FxProperties values: The FxProperties registry key holds the system effect APO configuration for a specific audio endpoint device.

    Each audio endpoint device has its own key, named after the endpoint GUID.
    Under each endpoint device key, the FxProperties key contains system effect APO configuration.

    For more details I suggest you could refer to the link: https://github.com/dechamps/APO

    Best Regards,

    Jeanine


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.