?? am_tables.c
字號(hào):
#ifdef __cplusplusextern "C" {#endif/*================================================================================================== Module Name: am_tables.c General Description: This file stores audio tables which are located in exernal flash memory area for LCA (NEPTUNE) and in internal ROM for P2K. The tables were move from file am_c_utilities.c ==================================================================================================== Motorola Confidential Proprietary Advanced Technology and Software Operations (c) Copyright Motorola 2002, All Rights Reserved Revision History: Date Author Reference ======== ======== ========================== 2004-05-25 w17860 CR - LIBff87431 Feature:13698 - MME support for ClearTalk Support 2005-06-09 w17860 CR - LIBgg07476 MFT distortion during mp3 playback 2004-06-01 w17860 CR - LIBee16565 Clean up companding code to make it more efficient Modification TrackingAuthor Date Number Description of Changes------------------------- ------------ ---------- -------------------------------------------Ravi Subramanyan 10/24/2003 LIBdd50629 DSP shaping filter not workingRavi Subramanyan 09/09/2003 LIBdd34023 Need to add place holders in the code for future companding parametersRavi Subramanyan 08/25/2003 LIBdd33033 AS Enable and Coeff Config Commands incorrect for Handset ModeRavi Subramanyan 08/08/2003 LIBdd25168 Move the compander parameters into the file systemLoren Lareau 07/28/2003 LIBdd12886 LTS ROM2: wrong MD_CONFIG_SAP on TS1 for DAI testingRavi Subramanyan 07/21/2003 LIBdd19939 Change Audio Gain Table design so that it can be BRed to common MME Ravi Subramanyan 05/30/2003 LIBbb96110 Single Binary audio gainsf11983 06/23/2003 LIbb12716 Increase 1dB hw gain and 2dB DSP gain for E380 internal speakeravv010 04/29/2003 LIBbb95504 Adding microphone gain in calling.Ravi Subramanyan 04/16/2002 LIBbb94790 Need to turn on the internal speakerphone gain tables for Tripletsw17860 03/31/2003 LIBbb85957 TCG - Merge of Telematics CRs in dl_audio from R1.2.7 to R3.6w17860 03/17/2003 LIBbb87685 MRS 8245: Haptics support for E390Jon Eklund 02/11/2003 LIBbb80651 handset gain adjustment per JPRINS1Lori Lareau 01/27/2003 LIBbb72192 MP3 compandingbaf044 12/17/2002 LIBbb72458 Improve Midi loudness. - Change the output gain of the audio shaping module from 16dB to 18dB.fsga1536 12/19/2002 LIBbb73163 Updated Speaker gain by 2dB for C350Pazit Gold 12/10/2002 LIBbb71163 NEPTUNE LTS: Upmerge CR LIBbb62132 to C350_G_09.04.06Ibaf044 10/30/2002 LIBbb62132 NEPTUNE LTS: Support PCAP and SEAWEED in Run-Time for Audio.bob030 11/03/2002 LIBbb65025 Updated the gain tables for LCA bel012 10/22/2002 LIBbb58233 Updated the gain tables for LCA - Increase handset mic gain by 5dB to work with new TA02 mic. bel012 09/05/2002 LIBbb53421 Updated the gain tables for LCA - Remove extra 2dB of alert gain for high B+ voltages, (AM_HW_ALERT_INT_SPEAKERPHONE_HIGH_BPLUS_SPEAKER_TABLE) .Ravi Subramanyan 08/08/2002 LIBbb48523 LCA: Disable AVC in a call to prevent audio distortionsbob030 06/26/2002 LIBbb41129 Lower Midi Audio Shaping Module Output Gain - Changed OUTPUT_GAIN (am_companding_midi_table[1]) to 0x3233.bob030 06/26/2002 LIBbb41132 Updated the gain tables for LCA - Added alert gain table for high B+ , (AM_HW_ALERT_INT_SPEAKERPHONE_HIGH_BPLUS_SPEAKER_TABLE) .baf044 06/05/2002 LIBbb36923 Updated the gain tables for LCA - Change Alert Gain Table -3dB spk gain, +1 dB Hardware gainbaf044 06/05/2002 LIBbb36923 Updated the gain tables for LCA - Decrease internal mic gain by 4dBr58514 05/15/2002 LIBbb29284 LCA: Moved parameters of audio shaping, companding, SAP and AVC from AM_HW_Primitive_Builder_main.cc and 15 alert tones from AM_HW_Primitive_Builder_tone.ccbmd031 04/25/2002 LIBbb29879 Updated the gain tables for LCAbmd031 04/24/2002 LIBbb27976 Added the cr LIBbb23753 to the LCA phoneqcf001 03/19/2002 LIBbb23953 Change gain table to use polyphonic speakerbaf044 03/08/2002 LIBbb22707 LCA: changed 'volume step 0' value (constant increment hardware gains) for LCA.byl034 01/30/2002 LIBbb17614 LCA: CatchUp to LIBbb14802.baf044 12/24/2001 LIBbb14802 LCA: Update gains for LCA (NEPTUNE).baf044 10/16/2001 LIBbb08485 update PGA settings for linerization of alert driven by halfwave rectified sine in am_hw_vol_step_table [] for LCA. buo001 10/02/2001 LIBbb07234 update MIC gain table -AM_HW_INT_MIC_TABLE byl034 09/23/2001 LIBbb06348 Add #if (MAKE_NEPTUNE_CHIPSET == TRUE) for values for constant increment hardware gains (am_hw_vol_step_table []). baf044 08/23/2001 LIBbbxxxxx update tables after catchup to PAN4_G_01.01.26R baf044 04/09/2001 CSGce94379 Initial file creation==================================================================================================== INCLUDE FILES==================================================================================================*//* This define is used in am_c_utilities.h file to make sure that extern const AM_HW_GAINS_DATA *am_hw_gain_table; and extern const AM_HW_VOL_STEP_TBL_TYPE *am_hw_vol_step_table; are not included in this file because of type disagreement. */#define AM_TABLES_SOURCE_FILE#include <ENGINE_AUDIO/am_c_utilities.h>#include <ENGINE_AUDIO/audio_conditional_compile_def.h>#include <audio/am_hw_primitive_builder_tone.h>#include <audio/am_hw_primitive_builder_main.h>#if (AUDIO_RAINBOW == FALSE)#include <BUILD/hardware.h>#include <BUILD/feature.h>#endif/*================================================================================================== LOCAL FUNCTION PROTOTYPES==================================================================================================*//*================================================================================================== LOCAL CONSTANTS==================================================================================================*//*================================================================================================== LOCAL TYPEDEFS (STRUCTURES, UNIONS, ENUMS)==================================================================================================*/AM_HW_GAINS_DATA am_hw_gain_table [];AM_HW_VOL_STEP_TBL_TYPE am_hw_vol_step_table [];UINT16 am_audio_shaping_table_rx [];UINT16 am_audio_shaping_table_tx [];UINT16 am_audio_shaping_table_st [];/* Haptics AS filter coefficients */AM_HAPTICS_AS_PARAM am_haptics_as_table [];/* AVC noise thresholds */UINT16 am_avc_table [];/* SAP default config */const UINT16 SAP_DEFAULT_CONFIG = 0x0160;/* SAP control words (with DAI) */UINT16 am_sap_dai_table [];
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -