Reading data samples from sound card

Mar 6 2006 6:32 AM
can any body please inform me

How to read data (digitized sound samples) from soundcard with or without using directX. and then saving to file displaying them.

desperatly waiting asap coz i am stuck with this problem......