Application loopback API Capture Sample which demonstrates the use of ActivateAudioInterfaceAsync Win32 API with a new initialization structure can restrict captured audio data to that rendered by a specific process and any of its child processes.
recording desktop audio
im working on an application to stream whatever the user is hearing to my server, which is then routed to the call they're in, its kind of like screen recording but only for audio
im not talking about microphone recording, im talking about recording the sounds applications make, preferably it should be possible to filter applications to eliminate echoing
do you think it's possible without hacky things like virtual mics? thanks for all the help! and im all new to wasapi though i've been meaning to get into windows development for a while!
-
Xiaopo Yang - MSFT 12,726 Reputation points Microsoft Vendor
2022-03-25T01:40:56.577+00:00
1 additional answer
Sort by: Most helpful
-
Castorix31 86,501 Reputation points
2022-03-24T20:43:41.497+00:00 If I adapt the MS code from Capturing a Stream
by using :hr = pEnumerator->GetDefaultAudioEndpoint( eRender, eConsole, &pDevice);
I capture all output audio (like MP3, Youtube videos, etc...)