1/*---------------------------------------------------------------------------*
2 *  creccons.h  *
3 *                                                                           *
4 *  Copyright 2007, 2008 Nuance Communciations, Inc.                               *
5 *                                                                           *
6 *  Licensed under the Apache License, Version 2.0 (the 'License');          *
7 *  you may not use this file except in compliance with the License.         *
8 *                                                                           *
9 *  You may obtain a copy of the License at                                  *
10 *      http://www.apache.org/licenses/LICENSE-2.0                           *
11 *                                                                           *
12 *  Unless required by applicable law or agreed to in writing, software      *
13 *  distributed under the License is distributed on an 'AS IS' BASIS,        *
14 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
15 *  See the License for the specific language governing permissions and      *
16 *  limitations under the License.                                           *
17 *                                                                           *
18 *---------------------------------------------------------------------------*/
19
20#ifndef __creccons_h
21#define __creccons_h
22
23/************************************************************************
24 * Constants
25 ************************************************************************/
26
27/************************************************************************
28 * CREC Wave Constants
29 ************************************************************************/
30
31#define DEVICE_RAW_PCM      1
32#define DEVICE_MULAW        2
33#define WAVE_DEVICE_RAW     1
34
35/************************************************************************
36 * CREC Utterance Constants
37 ************************************************************************/
38
39#define LIVE_INPUT                  2
40
41/************************************************************************
42 * CREC Recognizer Constants
43 ************************************************************************/
44
45#define FULL_RESULT      3
46#define REJECT_RESULT      4
47#define INVALID_REQUEST             5
48
49#define FB_DEAD                     0
50#define FB_IDLE                     1
51#define FB_ACTIVE                   2
52
53/************************************************************************
54 * CREC end of utterance constants
55 ************************************************************************/
56
57#define RESULTS_UTTERANCE_END 1
58#define SYNTAX_UTTERANCE_END  2
59
60#endif
61