Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Capture audio of a single application on Windows 7

Is there a way to capture the audio outputted by only a single application, and not the system as a whole? With WASAPI I can capture the entire system audio, but I wish to only capture the audio from one application (there will be many applications, all playing audio at once.)

like image 700
Isaac Waller Avatar asked May 21 '11 21:05

Isaac Waller


1 Answers

Detours is used for hooking. Using the lib to hook IAudioRenderClient interface, including GetBuffer and ReleaseBuffer, and read data from the buffer.

like image 198
lethe Avatar answered Nov 02 '22 01:11

lethe