I recently asked for a Demo of speech recognition. After studying the Speech Recognition Knowledge, I found that a recording module should be implemented first. During the process of Baidu, the first thing I saw was the use of DirectSound for recording, so I was happy to start preparing for the recording (I have probably learned about DirectX before, and I have been looking for opportunities to learn). Then, while reading the DirectX SDK, DirectSound can also use Windows Multimedia functions to introduce the recording, in addition, DirectSound has no performance advantages in this respect. Considering that my recent work is relatively idle and I want to learn more, I plan to study these two methods.
1. IID_IDirectSoundCaptureBuffer8 Problems
Although this problem has not been solved, I have also posted a post to ask, but I have not found the problem, and I have attached the source code. Experienced friends can also help me with it.
1. device enumeration problems
2. Questions about stopping recording
Http://files.cnblogs.com/monotone/RecordDemo.zip