UniMRCP  1.7.0
mrcp_recorder_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_RECORDER_RESOURCE_H
18 #define MRCP_RECORDER_RESOURCE_H
19 
20 /**
21  * @file mrcp_recorder_resource.h
22  * @brief MRCP Recorder Resource
23  */
24 
25 #include "mrcp_types.h"
26 
28 
29 /** MRCP recorder methods */
30 typedef enum {
31  RECORDER_SET_PARAMS,
32  RECORDER_GET_PARAMS,
33  RECORDER_RECORD,
34  RECORDER_STOP,
35  RECORDER_START_INPUT_TIMERS,
36 
37  RECORDER_METHOD_COUNT
39 
40 /** MRCP recorder events */
41 typedef enum {
42  RECORDER_START_OF_INPUT,
43  RECORDER_RECORD_COMPLETE,
44 
45  RECORDER_EVENT_COUNT
47 
48 /** Create MRCP recorder resource */
50 
52 
53 #endif /* MRCP_RECORDER_RESOURCE_H */
#define MRCP_DECLARE(type)
Definition: mrcp.h:40
#define APT_END_EXTERN_C
Definition: apt.h:38
mrcp_resource_t * mrcp_recorder_resource_create(apr_pool_t *pool)
#define APT_BEGIN_EXTERN_C
Definition: apt.h:36
Basic MRCP Types.
mrcp_recorder_event_id
Definition: mrcp_recorder_resource.h:41
mrcp_recorder_method_id
Definition: mrcp_recorder_resource.h:30
Definition: mrcp_resource.h:32