5.2 Summary of Differences Among CSP Demos
There are separate versions of the Continuous Speech Processing (CSP) demo for SpringWare boards (a console version and a version with a graphical user interface) and for DM3 boards (console version only). All versions of the demo have the same purpose and produce the same results. However, there are some slight differences among the versions.
The following summarizes the differences between the demo for SpringWare boards and DM3 boards:
- The DM3 demo uses GlobalCall functions in manual mode while the Springware demo does not.
- The DM3 demo uses the DX_MAXSIL termination condition for recording while the Springware demo uses DX_MAXTIME.
- The DM3 demo does not use digital_sethook( ) for the T-1 and E-1 boards since it uses GlobalCall; however, the Springware demo does use digital_sethook( ).
- The DM3 demo does not use wink handler while the Springware demo does.
The following summarizes the differences between the demo on Linux and Windows:
- The functions dx_fileopen( ), dx_fileclose( ), dx_write( ) are used in Windows but are not supported in Linux. Linux version uses open( ), close( ), write( ).
- The parameter _O_CREAT is used in Windows, while O_CREAT (without the leading underscore) is used in Linux. The parameter O_BINARY is not used in Linux.
- Sleep( ) is used in Windows; sleep( ) in Linux. In Linux, sleep( ) is in unit of Seconds while in Windows, Sleep( ) is in units of milliseconds.
- In Linux, define "NULL" to 0 for dx_open( ).
- In Linux, sr_getboardcnt( ) is not supported and not used.
- Wink handle section was rewritten in Linux.
- In Linux, windows.h and Beep( ) are not used. The header file sys/time.h is used instead of time.h, and sys/io.h is used instead of io.h.
Click here to contact Dialogic Customer Engineering
Copyright 2001, Intel Corporation