AncaA's tech journal

12 Feb, 2008

How to play sound on the PocketPC using Win32

Posted by: Anca Alimanescu In: Mobile Dev

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.

  • Share/Bookmark

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

Comment Form

Arhive

Mobile Barcode

qrcode

This is a 2D-barcode containing the address of my mobile site.If your mobile has a barcode reader, simply snap this bar code with the camera and launch the site.

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!


Software entropy

1. A computer program that is used will be modified.

2. When a program is modified, its complexity will increase, provided that one does not actively work against this.

Switch to our mobile site