Previous PageTable Of Contents../index.htmlIndexNext Page



2.2. Voice Libraries

The voice libraries provide the interface to the Voice Driver. The voice libraries for single-threaded and multi-threaded applications include:

These "C" function libraries can be used to:

The Standard Run-time Library libsrlmt.lib is described in the Voice Software Reference: Standard Runtime Library. This library provides a set of common system functions that are device independent and are applicable to all Dialogic devices (for example, D/240SC-T1 and fax boards). You can use these functions to simplify application development by writing common event handlers to be used by all devices.

Single threaded asynchronous programming enables a single program to control multiple voice channels within a single thread. This allows the development of complex applications where multiple tasks must be coordinated simultaneously. The asynchronous programming model supports both polled and callback event management.

The Voice Software Reference: Standard Runtime Library contains a full discussion of the asynchronous programming models.

The multi-threaded synchronous programming model uses functions that block application execution until the function completes. This model requires that the application controls each channel from a separate thread or process. The model enables you to assign distinct applications to different channels dynamically in real time.

The Voice Software Reference: Standard Runtime Library contains a full discussion of the synchronous programming models.

This model is similar to the asynchronous except it is implemented using the sr_waitevtEx( ) function. This allows an application to have different threads waiting on events on different devices. As with the basic asynchronous model, functions initiated asynchronously from a different thread and the completion event picked up the sr_waitevtEx( ) thread.

The Voice Software Reference: Standard Runtime Library contains a full discussion of the extended asynchronous programming model.


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2002, Dialogic Corporation
All rights reserved
This page generated February, 2002