News | Articles | Libraries | Developer Tools | Books | Forum Links | Search   
Sections:
 

PpcSound

This library consists of two thread classes for wave input and output. They are optimized for use in VOIP applications (with a very short delay) with streaming input/output, but the sample doesn't support writing this stream into a wave file (or reading from a file). The sample shows also how convertion of the wave format works. Mixing of multiple streams simultaneously isn't shown, but easy to implement, too.

AuthorRalf Kuners
Home pageAuthor's Homepage
DownloadPpcSound.zip (32 Kb)
LicenseFree
Sources availableyes
Commented codeyes
Documentationno
Sample applicationPpcSound.zip (32 Kb)
Sample using to threads for wave input and output with the MM-API. Shows how to use two wave classes for capturing sound, convert it to a different format and play it with a minimum delay. Use of special buffer sizes (eg. 10ms or 30ms) is possible, what's importent if you are writing a VOIP application where codecs like G.723.1 or G.729 need this special buffer sizes. It seems like the sound driver on the iPaq 3850 (PPC2002) is using a time slice of 10ms, so (thread class internal) buffer sizes of 20ms or more are required or you have a real poor output! The internal output buffer uses 4 buffer so a minimal delay of 80ms is possible. That's not to bad!
Tutorial
Supported CPUAll
Tested devices

© 2001-2005 Pocket PC Developer Network, a division of Spb Software House