"Meng Zhuo" <cy***@dr.com> wrote in message
news:vf********************************@4ax.com...
Hi
I would like to record audio from my mixer source (microphone,
line-in, midi...) to wave (PCM) format (filename is known) ... that's
all. I've been looking for a really long time now on the internet, The
Code Project, forums ... everywhere, the only thing I can find is how
to play audio files and some XML stuff. It's the first time I have to
create a C# audio program, so ... ;)
Thanks to anyone who can tell me how to do this
You need to use DirectX, specifically DirectShow I believe. It's quite
complicated to get DirectShow up and running in C# but once you do it would
be fairly easy to achieve what you want. First, download and install the
DirectX 9 SDK and then have a look at these samples:
http://www.codeproject.com/cs/media/directshownet.asp https://sourceforge.net/projects/directshownet/
Also have a look at the samples in the DirectX SDK as well as the help file
provided with it. There is a direct show book provided by microsoft that is
excellent which I got second hand off amazon for $12.
Michael