Why do calls to waveOutGetPosition hang?

Posted by MusiGenesis on Stack Overflow See other posts from Stack Overflow or by MusiGenesis
Published on 2010-03-15T05:27:18Z Indexed on 2010/03/15 5:29 UTC
Read the original article Hit count: 255

Filed under:
|
|

I'm using the winmm.dll API method waveOutGetPosition to get the current position of the playback of a WAV file. Sometimes this works as expected for me, but eventually one of the calls never returns and my application locks up.

I found this thread with a few users who have experienced the same problem:

http://social.msdn.microsoft.com/Forums/en-US/windowsgeneraldevelopmentissues/thread/c6a1e80e-4a18-47e7-af11-56a89f638ad7

but no solution. Has anyone run into this problem before?

© Stack Overflow or respective owner

Related posts about c#

Related posts about windows-vista