0251ce8871010579fd378ec47f757fa973134e6c
[platform/adaptation/ap_samsung/libomxil-e3250-v4l2.git] / exynos4 / libcodec / audio / alp / include / srp_error.h
1 /*
2  *
3  * Copyright 2012 Samsung Electronics S.LSI Co. LTD
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *      http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17
18 /*
19  * @file        srp_error.h
20  * @brief
21  * @author      Yunji Kim (yunji.kim@samsung.com)
22  * @version     1.1.0
23  * @history
24  *   2012.02.28 : Create
25  */
26
27 #ifndef _SRP_ERROR_H_
28 #define _SRP_ERROR_H_
29
30 typedef enum {
31     SRP_RETURN_OK = 0,
32
33     SRP_ERROR_OPEN_FAIL       = -1000,
34     SRP_ERROR_ALREADY_OPEN    = -1001,
35     SRP_ERROR_NOT_READY       = -1002,
36
37     SRP_ERROR_IBUF_OVERFLOW   = -2000,
38     SRP_ERROR_IBUF_INFO       = -2001,
39 #ifdef SLP_PLATFORM
40     SRP_ERROR_IBUF_BUFFERING  = -2002,
41 #endif
42
43     SRP_ERROR_OBUF_READ       = -3000,
44     SRP_ERROR_OBUF_INFO       = -3001,
45     SRP_ERROR_OBUF_MMAP       = -3002,
46
47     SRP_ERROR_INVALID_SETTING = -4000,
48     SRP_ERROR_GETINFO_FAIL    = -4001
49 } SRP_ERRORTYPE;
50
51 #endif /* _SRP_ERROR_H_ */