UniMRCP  1.7.0
mrcp_synth_resource.h
Go to the documentation of this file.
1 /*
2  * Copyright 2008-2015 Arsen Chaloyan
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef MRCP_SYNTH_RESOURCE_H
18 #define MRCP_SYNTH_RESOURCE_H
19 
20 /**
21  * @file mrcp_synth_resource.h
22  * @brief MRCP Synthesizer Resource
23  */
24 
25 #include "mrcp_types.h"
26 
28 
29 /** MRCP synthesizer methods */
30 typedef enum {
31  SYNTHESIZER_SET_PARAMS,
32  SYNTHESIZER_GET_PARAMS,
33  SYNTHESIZER_SPEAK,
34  SYNTHESIZER_STOP,
35  SYNTHESIZER_PAUSE,
36  SYNTHESIZER_RESUME,
37  SYNTHESIZER_BARGE_IN_OCCURRED,
38  SYNTHESIZER_CONTROL,
39  SYNTHESIZER_DEFINE_LEXICON,
40 
41  SYNTHESIZER_METHOD_COUNT
43 
44 /** MRCP synthesizer events */
45 typedef enum {
46  SYNTHESIZER_SPEECH_MARKER,
47  SYNTHESIZER_SPEAK_COMPLETE,
48 
49  SYNTHESIZER_EVENT_COUNT
51 
52 
53 /** Create MRCP synthesizer resource */
55 
57 
58 #endif /* MRCP_SYNTH_RESOURCE_H */
#define MRCP_DECLARE(type)
Definition: mrcp.h:40
mrcp_resource_t * mrcp_synth_resource_create(apr_pool_t *pool)
#define APT_END_EXTERN_C
Definition: apt.h:38
#define APT_BEGIN_EXTERN_C
Definition: apt.h:36
Basic MRCP Types.
mrcp_synthesizer_event_id
Definition: mrcp_synth_resource.h:45
mrcp_synthesizer_method_id
Definition: mrcp_synth_resource.h:30
Definition: mrcp_resource.h:32