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

Where is the WasapiLoopbackCapture class?

Mar 20, 2015 at 2:06 PM
Hi

I just downloaded the last naudio from github.

I am trying to modify the naudio demo to capture what windows plays.

I tried the following code which I saw here and there on the internet.
waveIn = new NAudio.Wave.WasapiLoopbackCapture();
I also tried
waveIn = new WasapiLoopbackCapture();
But I always get the following error.

"The type or namespace name 'WasapiLoopbackCapture' could not be found (are you missing a using directive or an assembly reference?)"

So I am wondering if WasapiLoopbackCapture class was removed or even never existed in the first place.
Is there a workaround?

Any help will be greatly appreciated.
Thanks for advance.
Mar 20, 2015 at 2:21 PM
Not sure why you're seeing this. WasapiLoopbackCapture is here
Marked as answer by snakekain on 3/20/2015 at 6:27 AM
Mar 20, 2015 at 2:27 PM
markheath wrote:
Not sure why you're seeing this. WasapiLoopbackCapture is here
I am sorry, it seems that I checked out a wrong version from github.
Thank you for your prompt reply.