mciSendString,如何获取录制的缓冲区?

时间:2015-01-18 13:30:10

标签: windows audio desktop-application audio-recording mci

我通过dmmImport的winmm.dll:mciSendString创建一个使用MCI的录像机。

我能够录制并保存它。我想在保存之前对它进行一些处理,但我没有找到任何正确的方法,方法,在录制期间获取缓冲区的技巧(再次,不先保存到WAV文件)?

有什么想法吗?

mciSendString("open new type waveaudio alias recsound", null, 0, IntPtr.Zero);
mciSendString("record recsound", null, 0, IntPtr.Zero);
//Would like to get the buffer here
mciSendString("pause recsound", null, 0, IntPtr.Zero);
//or here

0 个答案:

没有答案