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.
| Author | Ralf Kuners |
| Home page | Author's Homepage |
| Download | PpcSound.zip
(32 Kb)
|
| License | Free |
| Sources available | yes |
| Commented code | yes |
| Documentation | no |
| Sample application | PpcSound.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 CPU | All |
| Tested devices | |
|