📄 am_hw_primitive_builder_main.cc
字号:
/* (c) Copyright Motorola 1996 - 2006 All rights reserved. Motorola Confidential Proprietary. Contains confidential proprietary information of Motorola, Inc. Reverse engineering is prohibited. The copyright notice does not imply publication. DESCRIPTION This file gets the request from the Application layer about what the new sound should be. It then calls various specialized functions to send the proper commands the hardware. This file is responsible for knowing what the last values sent to the hardware were, and only updating parts of the hardware that need it. ****************************** REVISION HISTORY ****************************** Date Author Reference ======== ======== ========================== 2006-01-23 w16355 CR - LIBhh78710 Merge fix: Restore missing changes for LIBhh70336. 2006-01-17 w16355 CR - LIBhh70336 Sound distortion while on a call. 2006-01-20 a20225 CR - LIBhh67206 FT EMEA: Bad audio while in a call, received with Autoanswer EIHF 2006-01-11 a15380 CR - LIBhh70448 FT_INDIA:- Phone continues to vibrate even after ending the MT call 2005-12-13 w16355 CR - LIBhh59411 AUL stereo DAC can take up to 160ms to fully power up. 2005-12-02 w16355 CR - LIBhh56423 Random keypad pops due to AUL output HPF. - This is a duplicate of LIBhh52340 for P044. 2005-11-18 w16355 CR - LIBhh36232 libhh36232_il93g_w16355_swap_matrix_w_anm 2005-11-04 e42737 CR - LIBhh30280 Add Hi-Fi carkit companding 2005-11-03 w16355 CR - LIBhh31931 libhh31931_il93g_w16355_must_turn_anm_off 2005-10-28 w16355 CR - LIBhh22616 Need to check for VR when configuring the EMU stereo headset. 2005-10-28 w18944 CR - LIBhh29834 Companding for MM playback with EMU stereo hs 2005-10-17 w16355 CR - LIBhh15667 Panic Code: 0x00010304 MODEM_RUN_TIME_BAD_ID. 2005-10-06 w16355 CR - LIBhh10645 EMU Stereo headset has poor uplink while in PTT call. 2005-09-29 w16355 CR - LIBhh00257 Stereo EMU HS mic does not always work on L7. - Pulled the code to set the EMU stereo headset conn mode out of the check for if the speaker changed, since the conn mode can change with the same speaker attached. 2005-09-26 w16355 CR - LIBgg92384 Phone continues to vibrate after answering call on Royale and Malta. 2005-09-29 w16355 CR - LIBhh02507 High freq sound in bkgrd during call using headset. - Stereo DAC switch was not turned off. 2005-09-13 w16355 CR - LIBgg56718 Pebble DAI stops working when Volume is adjusted. 2005-08-17 w16355 CR - LIBgg71171 Echo heard on other party with stereo headset. 2005-08-08 w17860 CR - LIBgg66031 AUDIHPF Reset Improperly 2005-07-28 w16355 CR - LIBgg51740 Battery test results does not meet specs. - The call to turn off CODEC_EN was erroneously removed. 2005-07-25 w16355 CR - LIBgg35198 AM needs to minimize changes between audio events. 2005-07-22 W17860 CR - LIBgg54754 Cleartalk parameters are not getting sent if hdset is plugged in call 2005-06-02 w17860 CR - LIBff89792 ClearTalk (ANM): allow dynamic download for this feature 2005-07-25 w17860 CR - LIBgg52950 Static/no sound when answering call with BT headset. 2005-07-19 w16355 CR - LIBgg49253 No sound while playing MP3 using car kit. 2005-07-18 w17860 CR - LIBgg44042 INTG_22R - Hissing/whistling noise on barrel HS at high volume 2005-07-14 a19950 CR - LIBgg45308 power down tone softer than power up 2005-07-18 e50026 CR - LIBgg48307 INTG:BKRG: EMU Stereo is broken on Royale 2005-07-11 w18944 CR - LIBff44932 P044: MME: Remove comments around call to put DSP in low power mode. 2004-05-25 w17860 CR - LIBff87431 Feature:13698 - MME support for ClearTalk Support 2005-06-28 w16355 CR - LIBgg37243 No keypad tone with short key press. - Remove the 100ms sleep after powering up the audio section of the AUL until the timer code is in place! 2005-06-23 w16355 CR - LIBgg36361 Need additional logging capabilities. 2005-04-12 w16355 CR - LIBff83601 Changes in AM for implementing new Call sequence. 2005-06-09 w17860 CR - LIBgg07476 MFT distortion during mp3 playback 2005-06-17 w16355 CR - LIBgg27809 Headset doesn't work properly, the sound isn't heard. 2005-06-15 w16355 CR - LIBgg29879 AM needs to control access to coder_on when ending audio events. 2005-06-13 w17860 CR - LIBff63840 Apple 3990042: Sometimes after sync, phone only plays out right headphone 2005-05-27 w16355 CR - LIBgg14430 Removing some DAI support for AUL as it will be moved to Sierra. 2005-05-19 w16355 CR - LIBff91483 MT call with mp3 ringer problem. - Moved all HW configuration to be called before we call the DSP in execute(). Moved all HW calls after the DSP in undo_audio_path(). 2005-05-17 w16355 CR - LIBgg10339 Headset audio playback during loudspeaker mode. 2005-05-12 w16355 CR - LIBgg03904 Atlas 2.3A Changes for feature 15226. 2005-05-05 w17860 CR - LIBgg00249 INTG: Panic when receive MT call very quickly before ringtone rang. 2005-04-22 w18944 CR - LIBff86600 TTY is not working 2005-04-29 w18944 CR - LIBff03111 No audio in call if WAV is playing when receive MT call 2005-06-02 w17860 CR - LIBff89792 ClearTalk (ANM): allow dynamic download for this feature 2005-05-25 w17860 CR - LIBff87431 Feature:13698 - MME support for ClearTalk Support 2005-04-08 w17860 CR - LIBff75104 BT noise on uplink noise issue - Reset DIG_AUD_IN bit 2005-04-07 w16355 CR - LIBff82912 DAI commands have stopped working on PEBL V6. 2005-03-24 w17860 CR - LIBff73690 Feature 10223 : Background audio feature interactions 2005-03-22 w18944 CR - LIBff75646 Support for 8KHz AAC 2005-02-23 w17860 CR - LIBff63890 ROM2p: Audio plays without a sound after connecting charger - Need to reset AUL_HAPI_CODEC_SSI_TS for the phone codec case. 2005-02-07 w16355 CR - LIBff56068 Constant noise in car kit when flip is opened. - Removed the call to turn off the EMU carkit speaker in undo_audio_path() because that should not be done for the EMU carkit. Besides, that is done for other accessories in the keypress timer expiration function. 2005-01-19 w17860 CR - LIBff55311 Feature 12969: Seperate out EMU headset from regular wired headset 2005-02-02 w16355 CR - LIBff27699 Remove the sending of MCU_DSP_AUDIO_LOW_POWER to DSP. 2005-01-26 w17860 CR - LIBff42504 Panic with Neptune LTE2 ROM3. Audio shaping not disabled - Make sure that CODER_ON is allowed to be sent only when audio queue is empty and the messges have been sent to DSP 2004-12-17 w16355 CR - LIBff43579 Atlas UL audio codec and stereo DAC spi bit setting are incorrect. 2004-12-13 w17860 CR - LIBff39970 No audio routed to BT headset - Need to assert both codec_en and codec_clk_en for atlas 2004-12-04 w16355 CR - LIBff37755 Fiji draws more than 5mA in standby mode. 2004-09-21 w19069 CR - LIBff18839 Add accessory mute/unmute functionality for Atlas UL and work around for Atlas UL parts 2004-11-18 w17860 CR - LIBff36802 Panic due to disabling PCAP clock when SAP is enabled 2004-11-03 w16355 CR - LIBff32597 Right earphone no sound with Stereo H/F playing MP3. 2004-10-05 w16355 CR - LIBff17193 Extra click sound when scrolling through sounds. 2004-11-05 w17860 LIBff24932 P4.4 Feature # 12583 Memory Reduction - Remove Voice Dial and Voice Tag 2004-08-25 w17860 CR - LIBff08402 Razor EMU headset disable/enable Vag reference in/out of deepsleep 2004-07-15 w18944 CR - LIBee L and R channels are mono added after stereo file is interrupted by CTG 2004-07-08 w18944 CR - LIBee28614 Speakerphone voice companding is broken 2004-07-06 w17860 LIBee21819 Pops and Click heard on Razor headset 2004-06-24 w18944 CR - LIBee23851 Noise/distortion with 8KHz sounds 2004-06-22 w17860 CR - LIBee21823 Low buzz from SIHF when phone is vibrating - Keep ALEFT_EN always ON when carkit is connected for Razor 2004-06-09 w16355 CR - LIBdd89151 Interface function for MP3 alert and playback - Modified the check for stereo speakers. 2004-06-01 w17860 CR - LIBee16565 Clean up companding code to make it more efficient 2004-05-04 w16355 CR - LIBee05984 E398: Stereo headset Send/End key fails after entering call. - We mask the mic interrupt, and only unmask for the mono headset. 2004-04-27 w16355 CR - LIBee01674 Cannot hear anything through headset after MT call. 2004-04-02 w16355 CR - LIBdd93012 Phone panics after removing headset. - Added a check to make sure we don't send 2 tty disable commands in a row, so the DSP doesn't die. 2004-03-03 w17860 CR - LIBdd82722 Mono adder must be turned OFF in voice call - Turn it off if it had been turned on before in the call. 02-23-2004 w18944 CR - LIBdd72710 WAV UI sounds 2004-02-26 w17860 LIBdd64152 OT: Interrupted audio when call waiting advice is signalled - Added logging for HAPI signals 02-25-2004 w16355 CR - LIBdd77377 E398: Audio Routing Problems with the stereo headset. 02-19-04 w17860 CR - LIBdd78611 Back out the CLK_INV and DF_RESET changes done - Back out some of the changes done in LIBdd62178 as this is fixed in hardware 02-05-2004 w18944 CR - LIBdd73087 New profile for simultaneous ring and vib 04-02-12 w18944 CR - LIBdd76900 EMU: don't send RTIME_MAINT_EVENT_MB2_DELAY 04-02-11 a18984 CR - LIBdd74761 No sound when set AMR alert tone 01-23-04 w17860 CR - LIBdd71412 Correct bug in sending the TX AS parameters in a call 01-09-04 w16355 CR - LIBdd62720 Non-functional stereo headset microphone. 2003-12-19 w16355 CR - LIBdd64180 E398: Stereo speaker change broke by merge for stereo headset. 03-12-08 a18984 CR - LIBdd59968 FM radio problem on C550 12-11-03 w17860 CR - LIBdd60209 Haptics Updates for E398 - Speakerphone compand parameters should follow haptics settings. 2003-12-10 w16355 CR - LIBdd58690 Panic while connected CarKit to C650 - Added calls to ensure we don't try to use pcap specific hapi signals when we have a seaweed part.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -