blob: b8fa5557f820d80873cf15501968ce0ef0bf176f [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:
* ---------
* audio_nvram_def.h
*
* Project:
* --------
* MAUI
*
* Description:
* ------------
* This file contains `vendor' defined logical data items stored in NVRAM.
* These logical data items are used in object code of Protocol Stack software.
*
* As for customizable logical data items, they are defined in nvram_user_config.c
*
* 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!
*
*
*------------------------------------------------------------------------------
* Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
*============================================================================
****************************************************************************/
#ifndef __AUDIO_NVRAM_DEF_H__
#define __AUDIO_NVRAM_DEF_H__
#if !defined(MED_NOT_PRESENT)
#ifdef __cplusplus
extern "C"
{
#endif /* __cplusplus */
/*
* Include Headers
*/
#include "med_struct.h"
/*
* NVRAM Basic Headers
*/
#include "nvram_data_items.h"
#include "nvram_defs.h"
/*
* User Headers
*/
/*
* LID Enums
*/
typedef enum
{
NVRAM_EF_CUST_ACOUSTIC_DATA_LID = NVRAM_LID_GRP_AUDIO(0),
NVRAM_EF_AUDIO_PARAM_LID = NVRAM_LID_GRP_AUDIO(1),
NVRAM_EF_AUDIO_BESLOUDNESS_LID = NVRAM_LID_GRP_AUDIO(2),
NVRAM_EF_AUDIO_GAIN_TABLE_LID = NVRAM_LID_GRP_AUDIO(3),
NVRAM_EF_AUDIO_SWFIR_LID = NVRAM_LID_GRP_AUDIO(4),
/* WB speech */
NVRAM_EF_AUDIO_WB_SPEECH_INPUT_FIR_LID = NVRAM_LID_GRP_AUDIO(5),
NVRAM_EF_AUDIO_WB_SPEECH_OUTPUT_FIR_LID = NVRAM_LID_GRP_AUDIO(6),
NVRAM_EF_AUDIO_WB_SPEECH_MODE_PARAM_LID = NVRAM_LID_GRP_AUDIO(7),
/* Dual Mic */
NVRAM_EF_AUDIO_DUAL_MIC_PARAM_LID = NVRAM_LID_GRP_AUDIO(8),
NVRAM_EF_AUDIO_DC_CALIBRATION_LID = NVRAM_LID_GRP_AUDIO(9),
/*
* Last LID of GPS Group
*/
NVRAM_EF_AUDIO_LAST_LID = NVRAM_LID_GRP_AUDIO(255)
}nvram_lid_audio_enum;
/*
* Verno
*/
#if 0
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#endif
// Hash Key
#define NVRAM_EF_CUST_ACOUSTIC_DATA_LID_HASH 0x9E5A9348
#define NVRAM_EF_AUDIO_PARAM_LID_HASH 0xC808ABF8
#define NVRAM_EF_AUDIO_BESLOUDNESS_LID_HASH 0xDE06AED6
#define NVRAM_EF_AUDIO_GAIN_TABLE_LID_HASH 0x9498E8F1
#define NVRAM_EF_AUDIO_SWFIR_LID_HASH 0x2B5A8BE4
#define NVRAM_EF_AUDIO_WB_SPEECH_INPUT_FIR_LID_HASH 0x8B594AD1
#define NVRAM_EF_AUDIO_WB_SPEECH_OUTPUT_FIR_LID_HASH 0xBC624540
#define NVRAM_EF_AUDIO_WB_SPEECH_MODE_PARAM_LID_HASH 0x7C62DFEA
#define NVRAM_EF_AUDIO_DUAL_MIC_PARAM_LID_HASH 0x056131DF
#define NVRAM_EF_AUDIO_DC_CALIBRATION_LID_HASH 0x337B468D
/*
* Data Structure
*/
extern nvram_ltable_entry_struct logical_data_item_table_audio[];
#ifdef __cplusplus
}
#endif
#endif
#endif /* __AUDIO_NVRAM_DEF_H__ */