How to detect speaker and microphone level using windows api?

he wang 0 Reputation points
2023-04-18T09:48:06.76+00:00

I want to detect speaker and microphone level in my own application,just like the windows system do. Does Windows have APIs can testing audio devices? mic test example

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,751 Reputation points
    2023-04-20T09:36:39.6033333+00:00

    Hello Thank you for your question and reaching out. I can understand you are having query\issues related to detect speaker and microphone level using API. There are some C++ classes and APIs to work with Audio devices. Below two links should be helpful. https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/9f9185e0-4c74-43d5-8fec-842125da362a/how-can-i-mute-or-set-the-micline-output-level-on-windows-7?forum=windowspro-audiodevelopment https://social.msdn.microsoft.com/Forums/windowsdesktop/en-us/9741bae1-c330-4802-9860-2fd202dba797/enumeration-of-available-levels-for-a-specific-installed-sound-card?forum=windowspro-audiodevelopment --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

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.