blob: 08f9224edede4fa8676653f5eebf857a389b145d [file] [log] [blame]
/*****************************************************************************
* Copyright Statement:
* --------------------
* This software is protected by Copyright and the information contained
* herein is confidential. The software may not be copied and the information
* contained herein may not be used or disclosed except with the written
* permission of MediaTek Inc. (C) 2005
*
* BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
* THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
* RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
* AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
* NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
* SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
* SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
* THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
* NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
* SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
*
* BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
* LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
* AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
* OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
* MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
*
* THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
* WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
* LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
* RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
* THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
*
*****************************************************************************/
/*******************************************************************************
*
* Filename:
* ---------
* audcoeff_default.h
*
* Project:
* --------
* MAUI Project
*
* Description:
* ------------
* The default value of audio coefficients
*
* Author:
* -------
* -------
*
*==============================================================================
* HISTORY
* Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
*------------------------------------------------------------------------------
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
* removed!
* removed!
* removed!
* removed!
* removed!
* removed!
* removed!
* removed!
* removed!
* removed!
* removed!
* removed!
* removed!
* removed!
* removed!
* removed!
* removed!
* removed!
* removed!
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
*------------------------------------------------------------------------------
* Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
*==============================================================================
*******************************************************************************/
#ifndef AUDCOEFF_COMMON_DOT_H
#define AUDCOEFF_COMMON_DOT_H
#include "l1audio.h"
/*
* The Bluetooth DAI Hardware COnfiguration Parameter
*/
#define DEFAULT_BLUETOOTH_SYNC_TYPE 0
#define DEFAULT_BLUETOOTH_SYNC_LENGTH 1
#define DEFAULT_DIGITAL_MIC_CHANNEL1_PHASE 3
#define DEFAULT_DIGITAL_MIC_CHANNEL2_PHASE 3
/*
phase: 0~7
*/
#define DEFAULT_DIGITAL_MIC_CLOCK_SELECTION 0
/* clock selection
0: 3P25M
1: 1P625M
*/
#define BT_COMP_FILTER (0 << 15)
#define BT_SYNC_DELAY 86
/*
* Speech enhancement parameter
* BT_CARKIT (from W0643; AfterW0809, BT_CARKIT replace AUX1)
* AUX1 : undefined
* AUX2 : undefined
*/
#if defined(__SMART_PHONE_MODEM__)
#define DEFAULT_WB_DMNR_PARAM \
{ \
460, 470, 480, 490, 500, \
510, 520, 530, 540, 550, \
560, 570, 580, 590, 600, \
610, 620, 630, 640, 650, \
660, 670, 680, 690, 700, \
710, 720, 730, 740, 750, \
760, 770, 780, 790, 800, \
810, 820, 830, 840, 850, \
860, 870, 880, 890, 900, \
910, 920, 930, 940, 950, \
960, 970, 980, 990, 1000, \
1010, 1020, 1030, 1040, 1050, \
1060, 1070, 1080, 1090, 1200, \
1210, 1220, 1230, 1240, 1250, \
1260, 1270, 1280, 1290, 1300, \
1310 \
}
#define DEFAULT_LSPK_WB_DMNR_PARAM \
{ \
460, 470, 480, 490, 500, \
510, 520, 530, 540, 550, \
560, 570, 580, 590, 600, \
610, 620, 630, 640, 650, \
660, 670, 680, 690, 700, \
710, 720, 730, 740, 750, \
760, 770, 780, 790, 800, \
810, 820, 830, 840, 850, \
860, 870, 880, 890, 900, \
910, 920, 930, 940, 950, \
960, 970, 980, 990, 1000, \
1010, 1020, 1030, 1040, 1050, \
1060, 1070, 1080, 1090, 1200, \
1210, 1220, 1230, 1240, 1250, \
1260, 1270, 1280, 1290, 1300, \
1310 \
}
#define DEFAULT_DMNR_PARAM \
{ \
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, \
68, 0, 0, 0 \
}
#define DEFAULT_LSPK_DMNR_PARAM \
{ \
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, \
68, 0, 0, 0 \
}
#endif
#endif // ... AUDCOEFF_COMMON_DOT_H