1

Closed

Need to record all sounds from sound card.

description

Need to record all sounds from sound card. So that mic+output was written to file. Is it possible? Cant find any examples, found just ones that allow to write mic.
Closed Oct 5, 2012 at 9:49 PM by markheath
Wasapi Loopback recording, mixed together with recording from microphone is the solution to this

comments

markheath wrote May 25, 2012 at 9:30 AM

this is called loopback recording and is possible with WASAPI (so you can't use it in Windows XP)

purs wrote May 25, 2012 at 9:37 AM

// can't set WaveFormat as WASAPI doesn't support SRC
waveIn = new WasapiLoopbackCapture();
from demo?.. But it records just output, no mic sound (

markheath wrote May 25, 2012 at 10:33 AM

yes you must also record any microphones you want and mix after. It is unfortunately that WASAPI does not provide built in SRC, so you have to do it yourself.

ParDHarD wrote Aug 8, 2012 at 1:35 PM

Check out this thread for a WasapiLoopbackCapture class that takes the output from your soundcard and turns it into a wavein device you can record or whatever...

https://naudio.codeplex.com/discussions/203605/