/* * 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 */