summaryrefslogtreecommitdiffstats
path: root/exynos/multimedia/codecs/audio/exynos4/srp/alp/include/srp_error.h
diff options
context:
space:
mode:
Diffstat (limited to 'exynos/multimedia/codecs/audio/exynos4/srp/alp/include/srp_error.h')
-rw-r--r--exynos/multimedia/codecs/audio/exynos4/srp/alp/include/srp_error.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/exynos/multimedia/codecs/audio/exynos4/srp/alp/include/srp_error.h b/exynos/multimedia/codecs/audio/exynos4/srp/alp/include/srp_error.h
new file mode 100644
index 0000000..7f79452
--- /dev/null
+++ b/exynos/multimedia/codecs/audio/exynos4/srp/alp/include/srp_error.h
@@ -0,0 +1,22 @@
+#ifndef _SRP_ERROR_H_
+#define _SRP_ERROR_H_
+
+typedef enum {
+ SRP_RETURN_OK = 0,
+
+ SRP_ERROR_OPEN_FAIL = -1000,
+ SRP_ERROR_ALREADY_OPEN = -1001,
+ SRP_ERROR_NOT_READY = -1002,
+
+ SRP_ERROR_IBUF_OVERFLOW = -2000,
+ SRP_ERROR_IBUF_INFO = -2001,
+
+ SRP_ERROR_OBUF_READ = -3000,
+ SRP_ERROR_OBUF_INFO = -3001,
+ SRP_ERROR_OBUF_MMAP = -3002,
+
+ SRP_ERROR_INVALID_SETTING = -4000,
+ SRP_ERROR_GETINFO_FAIL = -4001
+} SRP_ERRORTYPE;
+
+#endif /* _SRP_ERROR_H_ */