new function in dll(but not in the .h file): /*----------------------------------------------------------------------*/ //将34字节的录音文件转换为16bit的线性PCM WAV文件,可以压缩为MP3文件 //convert the recorder file to 16bit PCM wav file BOOL WINAPI RecordFileToPcmWaveFile
一款很不错的录音程序,附带源代码,自行编译: 如遇到内存不能读写错误(103行),请把编译 CPU Type 从“Any CPU”改为“x86”即可。 部分代码: public const string WaveAudio = "waveaudio"; public const uint MM_MCINOTIFY = 0x3B9; public const uint MCI_NOTIFY_SUCCESSFUL = 0x0001; public const uint MCI_NOTIFY_SUP