摘要: 首先需要定义几个对象: HWAVEOUT hWaveOut; /* device handle */ WAVEFORMATEX wfx; /* look this up in your documentation */ MMRESULT result;/* for waveOut return values */然后需要设置音频流的参数信息,一下只是给出了我在使用过程中的参数,可以根据个人需求自行调节: wfx.nSamplesPerSec = 8000; /* sample rate */ wfx.wBitsPerSample = 16; /* sample size */ wf... 阅读全文
posted @ 2013-07-09 11:09 boole 阅读(3263) 评论(0) 推荐(0)