Windows Mobile 6.5 SndPlayAsync - C# wrapper?

Posted by dominolog on Stack Overflow See other posts from Stack Overflow or by dominolog
Published on 2010-12-27T14:14:40Z Indexed on 2010/12/27 15:53 UTC
Read the original article Hit count: 212

Hello

I'm implementing mp3 playback on Windows Mobile 6.5. I need to use SndPlayAsync API function since I don't want to block calling thread until the file is played (SndPlaySync blocks until the audio file is playing). Unfortunately the SndPlayAsync method takes sound handle instead of sound file path as parameter so there's a need to open the handle before and release of it after playback. The problem is that I don't have any information about the playback completion in this API. Did anybody use a C# wrapper for this API? Where can I get one? I've looked up OPENNETCF but they seem not to support this API.

Regards

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET