How to record sound?

I want to record sound from mic add some effect and give it out in real time... What interface should I use? Where can I find further information about it?
I tried DirectSound. Playing works, but couldn't find out how to record sounds... (is it possible? How?)

The Brain: The existence of programs that record wav's doesn't mean that it's possible. Actually, that's completely wrong, because in a standard way, you can't record and play at the same time (which is what losty is asking). SoundRecorder, for example, records and plays wav files but not simultaneously, first one, then the other action.

Anyway, it's possible using DirectX technology. Let me see if I can help you, losty.

The Brain: Winamp V2.xx supports DirectSound as an Output device. If you use it you can play with multiple instances.
And most Internet Phoning utils use full duplex... that means that you can record and play at the same time...
It is possible... but what interface should i use? I tried DirectSound first, because you can play from multiple instances ... why not record and play instead of play two times ...
but... the next prob: how can i record with direct sound?

DirectX 5 and above support DirectSoundCapture. Look into the DirectSound Tutorials - Tutorial 2: Sound Capture in the DirectX SDK documentation. "This tutorial shows how to implement DirectSoundCapture to capture a sound (typically from the microphone input) and write it to a wave file." Get the DirectX 6.0 SDK because "The DirectSound documentation has been expanded to include new overviews and tutorials.".

andla & chensu: I currently downloading the DirectX Foundation SDKs (15 MB + 10 MB Base Components ... i'm on 28.8 ... thanx Microsoft!) because these were the only DirectX SDKs I could find... DirectX 6.0 SDKs are only available on CD and since i live in germany i'll have to wait about 4 weeks (thnx MS again)
(hey, do you know, where i could get them (or parts of it) on the inet anyway?). I searched MFC's Info View for DirectSoundCapture, but can't find anything... I think it's because the Info Viewer has only infos about DirectX 2 or 3.

losty>> Have you tryed Altavista? Perhaps (i don't know) there is an other site that support 6.0.
If you are using MSVC 4.X 5.X-> the infoviewer does not give info on DirectX. The docs is only avaible in DirectX SDK package. About time to transfer i feel very happy. I have a ISDN 128 about 4.5 times faster that your modem.
"Do braucht ein sneller modem"

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…

Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …

The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.