PREV TOC HOME INDEX NEXT


5.1.2 Stopping Play When Speech is Detected (Barge-In)

The DXCH_BARGEIN parameter in ec_setparm( ) controls whether barge-in is executed in the application. This means that when speech is detected, the prompt play is automatically halted. This allows the caller to speak without distraction.

The event sent to the host application is called TDX_BARGEIN and can be returned by calling sr_waitevt( ).

The default value is barge-in disabled.

For more information on using DXCH_BARGEIN, see Section5.1.4, Sample VAD Scenarios.

Notes:
1. If desired, you can use the DXCH_BARGEINONLY parameter in ec_setparm( ) to generate the TDX_PLAY event in addition to the TDX_BARGEIN event when a barge-in condition occurs.
2. Streaming or recording starts on voice detection or on DTMF detection.

PREV TOC HOME INDEX NEXT

Click here to contact Dialogic Customer Engineering

Copyright 2001, Intel Corporation
All rights reserved
This page generated December, 2001