以前寫的一個錄音類,主要就是包裝了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