I want to write a simple windows app that does a few things with wav files. And i dont want to use Direct Sound b/c that is just too much for what i need (even though i know how to use that ). But anyway, what i need to do is be able to record as a wav file what ever comes into the line in on my sound card. I need to start recording when a signal appears on the line in and when its gone i need it to stop recording. I also need to play this wav file later on. I have done the playing before just not the recording. I plan on using the playsound function in mmsystem.h to play the sound and in that file, is there also a way to record a wav file when a signal is present on the line in?