This project has moved and is read-only. For the latest updates, please go here.

Capture audiostream of a single application?

Mar 29, 2010 at 2:54 PM


I'm new to NAudio .. an not so familiar with it's possibilities

Is it possible to capture only the output of a specified application?
If it is can you give me a hint where to start ?





Mar 29, 2010 at 4:24 PM

at the moment we do not have any loopback recording capabilities in NAudio. You could write it your own if your soundcard has a "what you hear option"

It is never likely to be possible though to capture the output of a specified application, since Windows does not make this a possibility




Mar 30, 2010 at 7:51 AM

Hi Mark,

I think that must be possible, because Windows Vista and 7 are displaying a mixer channel for each application with audio output...
and I found a software that is able to do it since WinXP
Of course they do not describe how they do it :(

But I think its a proof that it is possible.


Mar 30, 2010 at 8:26 AM

I'm afraid I don't think that Win 7 & Vista allow that level of access. I remember Larry Osterman saying this on a forum. Obviously the Windows developers who made the mixer have access to some lower level undocumented API's. If there is some kind of trick you can use, I'm afraid I don't know about it. It is a feature I would like too, since I have often wanted to be able to turn off the sounds from other logged in users on a family PC.