Jump to content
  • Advertisement
Sign in to follow this  
kimryo

About record microphone input by waveIn

This topic is 3634 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!