4.1.9 Setting Up Streaming or Recording
If desired, set up the application to process the incoming signal or speech utterance.
Call ec_reciottdata( ) to record echo-cancelled data to a file or to a memory buffer (data is available to the application at the completion of the record activity) or ec_stream( ) to send echo-cancelled data to the application as it is received. For more information, see the function reference information in the Continuous Speech Processing API Library Reference.
For SpringWare boards, you must turn off Automatic Gain Control (AGC) in your ASR application using MD_NOGAIN in the mode parameter. For DM3 boards, AGC is not available during an echo-cancelled recording or streaming.
The TEC_STREAM event is the completion event returned.
- Note:
- Voice library record functions such as dx_reciottdata( ) cannot be used simultaneously with ec_reciottdata( ) or ec_stream( ) on a CSP channel.
Click here to contact Dialogic Customer Engineering
Copyright 2001, Intel Corporation