IT Reflexions

12 Feb, 2008

How to play sound on the PocketPC using Win32

Posted by: Anca A. In: Windows Mobile

There are some functions that allow you to play sounds on a PPC:

* MessageBeep function is useful when you need to play a system alert.
MessageBeep(0xFFFFFFFF);

* PlaySound function should be used to play a .wav file from any source (file, resources and memory.

PlaySound(_T(”\\Windows\\empty.wav”), NULL, SND_ASYNC | SND_FILENAME);

* waveOut… functions are useful to play custom sound that is generated by your program. These functions are often used in games development.

Tags: ,

No Responses to "How to play sound on the PocketPC using Win32"

Comment Form

About me

Client-focused software engineer with high intellectual mobility and experience in international teams.

Some of my interests are open innovation, design patterns, networking, personal branding, blogging and study of foreign languages.

Enjoy your visit and don’t hesitate to leave me a feedback!