Groups | Blog | Home
all groups > visual c > november 2005 >

visual c : Recording from microphone



Olaf Baeyens
11/30/2005 2:18:41 PM
What is the best way to record from a microphone or line in in a unmanaged
C++ program?

I found a C# sample using DirectSound but we prefer an unmanaged C++ version
with no need of .NET.

Many thanks
Olaf

William DePalo [MVP VC++ ]
12/2/2005 10:39:39 AM
[quoted text, click to view]

You ought to post again in the multimedia group:

microsoft.public.win32.programmer.mmedia

On your way over you can take a look at the ancient waveform audio API -
waveInOpen(), waveInPrepareHeader(), waveInAddBuffer() etc. That technique
has worked for as long a time as there has been audio support in Windows.

Regards,
Will

Olaf Baeyens
12/6/2005 9:16:07 AM
[quoted text, click to view]
That is a good idea

[quoted text, click to view]
Currently that is what we are trying now.
But I am wondering if the .NET 2.0 has any direct support for recording
sound?

Thanks for the repy :-)

AddThis Social Bookmark Button