summaryrefslogtreecommitdiff
path: root/sound/soc/sprd/dai/vbc/r2p0/vbc-codec.h
blob: 6a973e714d93678040bfcbddb226ec8c5d872c58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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 */