| 65 | == Tasks == |
| 66 | |
| 67 | Several things that you could experiment with using pjsystest: |
| 68 | |
| 69 | === Testing different audiodev API backends === |
| 70 | |
| 71 | Some targets such as Windows Mobile as well as desktop platforms offer more than one audiodev API backends (for example on WM there are PA/WMME and native WMME). You don't need to recompile the whole library to experiment with different audiodev API backends, just change REC_DEV_ID and PLAY_DEV_ID in {{{systest.h}}}. |
| 72 | |
| 73 | === Testing different audio buffer size === |
| 74 | |
| 75 | Change OVERRIDE_AUDDEV_REC_LAT and OVERRIDE_AUDDEV_PLAY_LAT in {{{systest.h}}} to experiment with different audio buffer size (values are in milliseconds). The objective is to get the minimum latency without getting audio impairments. |
| 76 | |
| 77 | === Testing different audio device clock rate === |
| 78 | |
| 79 | Choosing higher clock rate in audio device can minimize latency. Change DEV_CLOCK_RATE in {{{systest.h}}} to experiment with different clock rates. |