About record microphone input by waveIn

Started by
1 comment, last by kimryo 15 years, 9 months ago
I'm trying to record microphone input by using Windows waveIn series APIs, the demo wroks fine all the way except when stopping record, I called waveInReset to flush remain PCM data which will trigger CALLBACK function, I write final data and call waveInUnperpareHeader to unprepare the buffer, but the program hang there, the waveInUnperpareHeader never return. What's wrong? Thanks in advance.
God create the world,we create another one.-Reference
Advertisement
Make sure you don't call any waveIn* functions in your callback. There is only a handful of OS functions you are allowed to call in your callback.
Thanks, I just messed by the system dead lock...
God create the world,we create another one.-Reference

This topic is closed to new replies.

Advertisement