End Google Ads 201810 - BS.net 01 --> Hi,

I have a CLI audio recording program which uses WaveIn and WaveOut to record.

1. I need to prepare buffer and should be able to use for less time i.e., prepare the buffer for 30 mins but should be able to stop at 15 mins and save it to file. I am not able to do this now.
2. I need to get the path of the file. I need to record to a temp file and access it.

The audio's source is Microphone. It can record for custom # of seconds. I mean, when you run VoiceRec.exe and press enter, it would ask you for the # of seconds to record. After I give a number, it prepares the buffer for that time, starts recording and saves it to a file.

But what I want is, I would like to start recording and when the user presses any key, it should stop recording and save it to a WAV file.

http://rapidshare.com/files/24084578...ng_2_.rar.html