Here is an example of loopback-mode audio capturing. It's also be a good idea to read Chrome source code directly if Chrome has a solution.
Can wasapi record the loopback audio and exclude specify audio stream
tonyye
1
Reputation point
I have one communication application, now I share my desktop and audio to other people.
I use wasapi to capture the system's audio, but the captured audio contains the mix of all audio being played, so it contains other people's voice too.
If I share this mixed audio to other people, he would get echo.
Is there any api to capture the mixed audio and exclude my application's audio?
2 answers
Sort by: Most helpful
-
Xiaopo Yang - MSFT 11,501 Reputation points Microsoft Vendor
2021-09-09T06:12:05.187+00:00 -
Xiaopo Yang - MSFT 11,501 Reputation points Microsoft Vendor
2022-01-11T08:59:46.667+00:00 Benefited to (Loopback)Capture audio: Are APO effects captured too?, the questioner points the Application loopback API Capture Sample which can exclude a process from capture.