summaryrefslogtreecommitdiff
path: root/sound/soc/sprd/dai/vbc/r2p0/vbc-codec.h
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2017-08-30 08:25:59 +0000
committerYuval Adam <_@yuv.al>2017-08-30 08:25:59 +0000
commit8e4bff4cab0ddac6060645b0715210484d02ff40 (patch)
tree3a5c3024371a04692a3a6d9974d001cdff8ebf84 /sound/soc/sprd/dai/vbc/r2p0/vbc-codec.h
Initial file dump from open source releaseHEADmaster
Diffstat (limited to 'sound/soc/sprd/dai/vbc/r2p0/vbc-codec.h')
-rw-r--r--sound/soc/sprd/dai/vbc/r2p0/vbc-codec.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/sound/soc/sprd/dai/vbc/r2p0/vbc-codec.h b/sound/soc/sprd/dai/vbc/r2p0/vbc-codec.h
new file mode 100644
index 00000000..6a973e71
--- /dev/null
+++ b/sound/soc/sprd/dai/vbc/r2p0/vbc-codec.h
@@ -0,0 +1,30 @@
+/*
+ * sound/soc/sprd/dai/vbc/r2p0/vbc-codec.h
+ *
+ * SPRD SoC VBC Codec -- SpreadTrum SOC VBC Codec function.
+ *
+ * Copyright (C) 2012 SpreadTrum Ltd.
+ *
+ * This software is licensed under the terms of the GNU General Public
+ * License version 2, as published by the Free Software Foundation, and
+ * may be copied, distributed, and modified under those terms.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY ork FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+#ifndef __VBC_CODEC_H
+#define __VBC_CODEC_H
+
+#include "vbc-comm.h"
+
+#define VBC_EQ_FIRMWARE_MAGIC_LEN (4)
+#define VBC_EQ_FIRMWARE_MAGIC_ID ("VBEQ")
+#define VBC_EQ_PROFILE_VERSION (0x00000002)
+#define VBC_EQ_PROFILE_CNT_MAX (100)
+#define VBC_EQ_PROFILE_NAME_MAX (32)
+#define VBC_DA_EFFECT_PARAS_LEN (20+72*2)
+#define VBC_AD_EFFECT_PARAS_LEN (2+ 43*2)
+
+#endif /* __VBC_CODEC_H */