Is it possible to Intercept and postprocess all audio streams coming from any app or process running on Windows device?

Sumit Kumar 0 Reputation points Microsoft Employee
2024-09-16T18:02:17.9033333+00:00

We want to build some app ( C++/Python) for intercepting and processing all audio streams coming from any applications/process like Youtube in browser, inbuilt music app on Windows Device .

 
The program should apply some filters to audio first and then only send it to respective audio devices for output.

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,652 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Tong Xu - MSFT 2,471 Reputation points Microsoft Vendor
    2024-09-17T02:23:06.3366667+00:00

    No, you can't.
    MediaFoundation only deals with different audio files. It can't capture and process the audio stream of Web Aplication.

    session-playback

    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.