System information
Dialogic
® 
HMP Software Release 3.0WIN Release Guide — December 2010 63
Dialogic Corporation
Demonstration Software
VoiceDemo
The VoiceDemo demonstration program uses the asynchronous programming model. 
It is a multithreaded, multi-channel demo based on the Dialogic
®
 Voice API that 
illustrates key voice features, such as play, record, volume adjustment, and make call. 
The demo consists of two threads. The main thread creates a child window for each 
voice device that is opened. The purpose of the second thread is to poll for device 
events using the Standard Runtime Library function sr_waitevt( ). After an event is 
received, a message is displayed in the child window, and menu items are available 
for the next function selection.
See the VoiceDemo online Help for more information.
Xaansr Voice Demo
The Xaansr demonstration program is a multithreaded voice application based on the 
Voice API and is developed using the extended asynchronous polled programming 
model. Xaansr is state driven and uses two threads to handle events: one thread for 
voice events and another thread for network events.
The Xaansr demo program illustrates the voice recording and playback feature. You 
can listen to a prompt, record a message, and play back that message.
See the Xaansr Voice Demo online Help for more information.










