MTK personal entry notes (lyrics display switch, ON/OFF sound, shutdown set to mute, capture the trace of cmaera, initialization of camera_sensor)

Source: Internet
Author: User

1: The lyrics display switch is pai_mmi_audio_player_lyric_display.

/Plutommi/MMI/INC/mmi_features_switch.h

 

2: Modify the switch sound: const audio_resource_struct mtk_resource_sounds []

/Custom/Audio/resource_audio.c

This file contains all hex audio source files

 

3: Set the shutdown mode in NVRAM to mute: static profile const nvram_profiles_default [max_elements] 202-> 0

/Custom/common/pluto_mmi/nvram_common_config.c

 

4: capture the trace of cmaera. Generally, select the mod_nil module!

Add trace: void kal_prompt_trace (module_type mod_id, const kal_char * FMT ,...)

 

5: boot Io operations on camera_sensor/custom/drv/yuv_sensor/camera_hsf-c

ID identification compatible with camera_sonsor and initialization are in/custom/drv/yuv_sensor/image_sensor.c

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.