blob: 64aff70da3831cc4d6eb2b4c91ee5ec96be3b12d [file] [log] [blame]
#ifndef _DEFAULT_PARA_H_
#define _DEFAULT_PARA_H_
#define BT_COMP_FILTER (1 << 15)
#define BT_SYNC_DELAY 86
#define DEFAULT_SPEECH_NORMAL_MODE_PARA \
0x80, 0xFD, 0x4004, 0x1F, 0xE007, 0x081F, 0xD045, 0x00, 0x00, 0x11E4, 0x263, \
0x0000, 0x5008, 0x173, 0x17, 0x2000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, \
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xF0F, \
0xF0F, 0xF0F, 0xF0F, 0xF0F, 0x0, 0x2828, 0x5050, 0x7878, 0xA0A0
#define DEFAULT_SPEECH_EARPHONE_MODE_PARA \
0x0, 0xFD, 0x2A04, 0x1F, 0xE007, 0x1F, 0x195, 0x40, 0x110, 0x10E5, 0x263, 0x0, \
0x5008, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, \
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, \
0x0, 0x0, 0x0, 0x0, 0x0
#define DEFAULT_SPEECH_BT_EARPHONE_MODE_PARA \
0x0, 0xFD, 0x2A04, 0x1F, 0xD00F, 0x1F, 0x195, 0x0, 0x50, 0x10E5, 0xA263, 0x0, \
0xD008, 0x0, 0x0, 0x56, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, \
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, \
0x0,0x0,0x0,0x0,0x0
#define DEFAULT_SPEECH_LOUDSPK_MODE_PARA \
0x60, 0xE0, 0x1488, 0x1F, 0xE007, 0x601F, 0x195, 0x84, 0x54, 0x10E5, 0x263, 0x0, \
0x5008, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, \
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, \
0x0, 0x0, 0x0
#define DEFAULT_SPEECH_CARKIT_MODE_PARA \
96, 224, 5256, 31, 57351, 24607, 400, 132, \
84, 4325, 611, 0, 20488, 0, 0, 0, \
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
#define DEFAULT_SPEECH_BT_CORDLESS_MODE_PARA \
0, 479, 10756, 28, 53255, 31, 400, 0, \
4048, 4325, 611, 0, 20488 | BT_COMP_FILTER, 0, 0, BT_SYNC_DELAY, \
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
#define DEFAULT_SPEECH_AUX1_MODE_PARA \
0, 0, 0, 0, 0, 0, 0, 0, \
0, 0, 0, 0, 0, 0, 0, 0, \
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
#define DEFAULT_SPEECH_AUX2_MODE_PARA \
0, 0, 0, 0, 0, 0, 0, 0, \
0, 0, 0, 0, 0, 0, 0, 0, \
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
#define DEFAULT_WB_SPEECH_NORMAL_MODE_PARA \
0x80, 0xFD, 0x4004, 0x1F, 0xE007, 0x081F, 0xD045, 0x00, 0x00, 0x11E4, 0x263, \
0x0000, 0x5008, 0x173, 0x17, 0x2000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, \
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xF0F, \
0xF0F, 0xF0F, 0xF0F, 0xF0F, 0x0, 0x2828, 0x5050, 0x7878, 0xA0A0
#define DEFAULT_WB_SPEECH_EARPHONE_MODE_PARA \
0x0, 0xFD, 0x2A04, 0x1F, 0xE107, 0x1F, 0x195, 0x40, 0x110, 0x10E5, 0x263, 0x0, \
0x4008, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, \
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, \
0x0, 0x0, 0x0, 0x0, 0x0
#define DEFAULT_WB_SPEECH_BT_EARPHONE_MODE_PARA \
0x0, 0xFD, 0x2A04, 0x1F, 0xD10F, 0x1F, 0x195, 0x0, 0x50, 0x10E5, 0xA263, 0x0, \
0xC008, 0x0, 0x0, 0x56, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, \
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, \
0x0, 0x0, 0x0, 0x0, 0x0
#define DEFAULT_WB_SPEECH_LOUDSPK_MODE_PARA \
0x60, 0xE0, 0x1488, 0x1F, 0xE107, 0x601F, 0x195, 0x84, 0x54, 0x10E5, 0x263, 0x0, \
0x4008, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, \
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, \
0x0, 0x0, 0x0
#define DEFAULT_WB_SPEECH_CARKIT_MODE_PARA \
96, 224, 5256, 31, 57607, 24607, 400, 132, \
84, 4325, 611, 0, 16392, 0, 0, 0 , \
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
#define DEFAULT_WB_SPEECH_BT_CORDLESS_MODE_PARA \
0, 479, 10756, 28, 53511, 31, 400, 0, \
4048, 4325, 611, 0, 16392 | BT_COMP_FILTER, 0, 0, BT_SYNC_DELAY, \
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
#define DEFAULT_WB_SPEECH_AUX1_MODE_PARA \
96, 224, 5256, 31, 57607, 0, 400, 0, 4112, 4325, 11, 0, 0, 0, 0, 0, \
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
#define DEFAULT_WB_SPEECH_AUX2_MODE_PARA \
0, 0, 0, 0, 0, 0, 0, 0, \
0, 0, 0, 0, 0, 0, 0, 0, \
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
/* For FIR in/out*/
/* 0: Input FIR coefficients for 2G/3G Normal mode */
/* 1: Input FIR coefficients for 2G/3G/VoIP Headset mode */
/* 2: Input FIR coefficients for 2G/3G Handfree mode */
/* 3: Input FIR coefficients for 2G/3G/VoIP BT mode */
/* 4: Input FIR coefficients for VoIP Normal mode */
/* 5: Input FIR coefficients for VoIP Handfree mode */
#define SPEECH_INPUT_FIR_COEF \
32767, 0, 0, 0, 0, \
0, 0, 0, 0, 0, \
0, 0, 0, 0, 0, \
0, 0, 0, 0, 0, \
0, 0, 0, 0, 0, \
0, 0, 0, 0, 0, \
0, 0, 0, 0, 0, \
0, 0, 0, 0, 0, \
0, 0, 0, 0, 0, \
\
32767, 0, 0, 0, 0, \
0, 0, 0, 0, 0, \
0, 0, 0, 0, 0, \
0, 0, 0, 0, 0, \
0, 0, 0, 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