以前写的一个录音类,主要就是包装了WaveIn等函数,并且能将录音信息保存为.wav文件。在vc6和EVC上都可以用,在这里我上传类文件。如果你修改了此类或者完善它,请也邮寄给我一份,我将适当做出更新。
HOW TO USE:
1) firstly, you define a CWaveSound variable, for example m_Wave;
2) then you must call CreateThread() function of this class before you start Recording(or any operation except saving);
3) lastly , you can record, play, pause and end recording\playing;
4) you can save it to you disk by calling SaveWave() function,
or you can write .wav formatted data to a buff by calling GetSoundData() function;
/Files/kuronca/Wave.rar